feat: list orgs in joj3-check-gitea-token
All checks were successful
build / trigger-build-image (push) Successful in 8s
All checks were successful
build / trigger-build-image (push) Successful in 8s
This commit is contained in:
parent
e24545324d
commit
aa33dcc2f1
|
@ -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__":
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user