Skip to content

Commit 217ac95

Browse files
committed
Remove user as admin too.
1 parent cfa539c commit 217ac95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • usr/lib/python3/dist-packages/linuxmusterApi/routers_v1

usr/lib/python3/dist-packages/linuxmusterApi/routers_v1/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def quit_project(project: str, who: AuthenticatedUser = Depends(RoleChecker("GST
421421

422422
get_project_or_404(project, who.school)
423423

424-
cmd = ['sophomorix-project', '--removemembers', who.user, '-p', project.lower(), '-jj']
424+
cmd = ['sophomorix-project', '--removemembers', who.user, '--removeadmins', who.user, '-p', project.lower(), '-jj']
425425
result = lmn_getSophomorixValue(cmd, '')
426426

427427
output = result.get("OUTPUT", [{}])[0]

0 commit comments

Comments
 (0)