File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1313 SIGN_IN_METHOD_TEXT ,
1414 SIGN_IN_METHOD_TEXT_OR_EMAIL ,
1515)
16- from app .models import JSONModel
16+ from app .models import JSONModel , StrictJSONModel
1717from app .models .api_key import APIKeys
1818from app .models .branding import EmailBranding , LetterBranding
1919from app .models .contact_list import ContactLists
@@ -680,7 +680,7 @@ class Services(SerialisedModelCollection):
680680 model = Service
681681
682682
683- class ServiceJoinRequest (JSONModel ):
683+ class ServiceJoinRequest (StrictJSONModel ):
684684 id : Any
685685 requester : Any
686686 service_id : Any
@@ -690,8 +690,6 @@ class ServiceJoinRequest(JSONModel):
690690 reason : str
691691 status : str
692692 contacted_service_users : list [str ]
693- requested_service : Any
694- permissions : list [str ]
695693
696694 __sort_attribute__ = "id"
697695
You can’t perform that action at this time.
0 commit comments