From e536f6ed68e658a56ae140a94fe444f9412e5893 Mon Sep 17 00:00:00 2001 From: Jose Buitron Date: Tue, 7 Nov 2023 12:53:59 -0500 Subject: [PATCH] Update terraso_backend/apps/graphql/schema/landscapes.py Co-authored-by: Paul Schreiber --- terraso_backend/apps/graphql/schema/landscapes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraso_backend/apps/graphql/schema/landscapes.py b/terraso_backend/apps/graphql/schema/landscapes.py index e2fdfbbaf..27779186e 100644 --- a/terraso_backend/apps/graphql/schema/landscapes.py +++ b/terraso_backend/apps/graphql/schema/landscapes.py @@ -490,7 +490,7 @@ def mutate_and_get_payload(cls, root, info, **kwargs): }, ): logger.info( - "Attempt to update a Membership, but manager's count doesn't allow", + "Attempt to update a Membership, but cannot remove last manager", extra={"user_id": user.pk, "membership_id": membership_id}, ) raise GraphQLNotAllowedException(