mirror of
https://github.com/etesync/server
synced 2024-11-26 02:38:15 +00:00
Also add 401 to permission responses.
This commit is contained in:
parent
959dc9b576
commit
1a09393dcb
@ -44,4 +44,4 @@ def is_collection_admin(collection, user):
|
||||
|
||||
|
||||
response_model_dict = {"model": HttpErrorOut}
|
||||
permission_responses = {403: response_model_dict}
|
||||
permission_responses = {401: response_model_dict, 403: response_model_dict}
|
||||
|
Loading…
Reference in New Issue
Block a user