diff --git a/gregui/api/views/invitation.py b/gregui/api/views/invitation.py index 455dbb0ed4538c8e2ebd22bded6b49f1cb6f9b5b..231c7d8a6612395af040df7004b55b29112b1d75 100644 --- a/gregui/api/views/invitation.py +++ b/gregui/api/views/invitation.py @@ -267,7 +267,8 @@ class InvitedGuestView(GenericAPIView): # TODO: Send an email to the sponsor? return Response(status=status.HTTP_200_OK) - def _verified_fnr_already_exists(self, person) -> bool: + @staticmethod + def _verified_fnr_already_exists(person) -> bool: try: person.identities.get( type=Identity.IdentityType.NORWEGIAN_NATIONAL_ID_NUMBER,