Browse Source

feat(api): make AuthenticatedNoopUserAction a BasicUserAction

Peter Thomassen 2 năm trước cách đây
mục cha
commit
719680a0cd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      api/desecapi/models/authenticated_actions.py

+ 1 - 1
api/desecapi/models/authenticated_actions.py

@@ -184,7 +184,7 @@ class AuthenticatedChangeEmailUserAction(AuthenticatedUserAction):
         self.user.change_email(self.new_email)
 
 
-class AuthenticatedNoopUserAction(AuthenticatedUserAction):
+class AuthenticatedNoopUserAction(AuthenticatedBasicUserAction):
     class Meta:
         managed = False