diff --git a/seahub/api2/endpoints/repos.py b/seahub/api2/endpoints/repos.py index 4f2a52da68..8b2f5eff8f 100644 --- a/seahub/api2/endpoints/repos.py +++ b/seahub/api2/endpoints/repos.py @@ -421,7 +421,7 @@ class RepoShareInfoView(APIView): if is_org_context(request): org_id = request.user.org.org_id - repo_owner = seafile_api.get_org_repo_owner(org_id, repo_id) + repo_owner = seafile_api.get_org_repo_owner(repo_id) shared_users = seafile_api.list_org_repo_shared_to(repo_owner, repo_id) shared_groups = seafile_api.list_org_repo_shared_group(org_id, repo_owner, repo_id) else: