diff --git a/app/notify_client/__init__.py b/app/notify_client/__init__.py index b4d1c02e0..fb0cb7f19 100644 --- a/app/notify_client/__init__.py +++ b/app/notify_client/__init__.py @@ -34,13 +34,9 @@ class NotifyAdminAPIClient(BaseAPIClient): # if the current service is inactive and the user isn't a platform admin, we should block them from making any # stateful modifications to that service - print('\n\n\n') - print(current_service) - print(current_user) if current_service and not current_service['active'] and not current_user.platform_admin: abort(403) - def post(self, *args, **kwargs): self.check_inactive_service() return super().post(*args, **kwargs)