feat: list orgs in joj3-check-gitea-token
All checks were successful
build / trigger-build-image (push) Successful in 8s

This commit is contained in:
张泊明518370910136 2025-09-21 06:02:58 -07:00
parent e24545324d
commit aa33dcc2f1
GPG Key ID: CA088E6D9284F870
2 changed files with 2 additions and 5 deletions

View File

@ -540,8 +540,8 @@ def joj3_check_gitea_token(
app.pretty_exceptions_enable = False
set_settings(Settings(_env_file=env_path))
set_logger(settings.stderr_log_level)
user = tea.pot.gitea.get_user()
echo(user)
repos = tea.pot.gitea.organization_api.org_list_repos(settings.gitea_org_name)
echo(repos)
if __name__ == "__main__":

View File

@ -110,9 +110,6 @@ class Gitea:
+ "but not found in Canvas students"
)
def get_user(self) -> Any:
return self.user_api.user_get_current()
def create_personal_repos_for_canvas_students(
self,
students: PaginatedList,