mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 02:42:47 +00:00
Merge pull request #1882 from haiwen/update-file
use use_onetime=False when get update link
This commit is contained in:
@@ -1410,7 +1410,7 @@ class UpdateLinkView(APIView):
|
||||
return api_error(HTTP_443_ABOVE_QUOTA, 'Above quota')
|
||||
|
||||
token = seafile_api.get_fileserver_access_token(repo_id,
|
||||
'dummy', 'update', request.user.username)
|
||||
'dummy', 'update', request.user.username, use_onetime=False)
|
||||
|
||||
if not token:
|
||||
error_msg = 'Internal Server Error'
|
||||
|
Reference in New Issue
Block a user