Skip to content

Commit

Permalink
remove print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Jul 27, 2022
1 parent 128de15 commit 3840e18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mpcontribs-api/mpcontribs/api/projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ def has_add_permission(self, req, obj):

# limit the number of projects a user can own (unless admin)
nr_projects = Projects.objects(owner=obj.owner).count()
print("#PROJECTS", nr_projects)
if nr_projects > 3:
raise Unauthorized(f"{obj.owner} already owns {nr_projects} projects.")

Expand Down

0 comments on commit 3840e18

Please sign in to comment.