From 3840e18fbfc2fd36e64b3f3bf240d0a2d43e5bb7 Mon Sep 17 00:00:00 2001 From: Patrick Huck Date: Wed, 27 Jul 2022 11:42:00 -0700 Subject: [PATCH] remove print statement --- mpcontribs-api/mpcontribs/api/projects/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mpcontribs-api/mpcontribs/api/projects/views.py b/mpcontribs-api/mpcontribs/api/projects/views.py index f4d267ffa..c6e7a1597 100644 --- a/mpcontribs-api/mpcontribs/api/projects/views.py +++ b/mpcontribs-api/mpcontribs/api/projects/views.py @@ -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.")