Remove some copy problems

This commit is contained in:
Sebastiaan
2025-06-07 22:29:39 +02:00
parent a19d47aa26
commit 7c515b8e8f
5 changed files with 17 additions and 6 deletions

View File

@@ -256,7 +256,7 @@ def read_event_teams(
module=PermissionModule.EVENT,
part=PermissionPart.ADMIN,
rights=(PermissionRight.READ | PermissionRight.MANGE_TEAMS),
) and ( event and (event.user_has_right(user=current_user, rights=(PermissionRight.READ | PermissionRight.MANGE_TEAMS)))):
) and ( event and (event.user_has_rights(user=current_user, rights=(PermissionRight.READ | PermissionRight.MANGE_TEAMS)))):
raise HTTPException(status_code=400, detail="Not enough permissions")
# Get list