Skip to content

Commit f8a3a24

Browse files
author
Marc Hughes
committed
Fixed bug w/ admin teams
1 parent 2a96dfa commit f8a3a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrumdo-web/apps/projects/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def addProjectToOrganization( project, organization):
416416
logger.info("Adding project %s to organization %s" % (project.slug, organization.slug))
417417
project.organization = organization
418418
project.save()
419-
admin_teams = organization.teams.filter(access_type="admin")
419+
admin_teams = organization.teams.filter(access_type="staff")
420420
admin_team = admin_teams[0]
421421
if not admin_team:
422422
# This really shouldn't happen, there's no way to delete that default admin team.

0 commit comments

Comments
 (0)