Skip to content

Commit

Permalink
Update user.py
Browse files Browse the repository at this point in the history
  • Loading branch information
r350178982 committed Jun 7, 2024
1 parent 7ffa2db commit 985c2f9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions seahub/api2/endpoints/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ def post(self, request):
# 2. Update org-settings
new_org = ccnet_api.get_org_by_id(org_id)
OrgSettings.objects.add_or_update(new_org, org_role)


# 3. Add user's repo to OrgRepo
owned_repos = seafile_api.get_owned_repo_list(username, ret_corrupted=True)
owned_repo_ids = [item.repo_id for item in owned_repos]
Expand Down

0 comments on commit 985c2f9

Please sign in to comment.