mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-02 07:47:32 +00:00
Merge pull request #2402 from haiwen/update-api
update FileRevision api
This commit is contained in:
commit
82dcb711a1
@ -2998,7 +2998,7 @@ class FileRevert(APIView):
|
||||
|
||||
|
||||
class FileRevision(APIView):
|
||||
authentication_classes = (TokenAuthentication, )
|
||||
authentication_classes = (TokenAuthentication, SessionAuthentication)
|
||||
permission_classes = (IsAuthenticated,)
|
||||
throttle_classes = (UserRateThrottle, )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user