mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
admin upload links
fix bug: use upload token
This commit is contained in:
@@ -126,7 +126,7 @@ class AdminUploadLinkUpload(APIView):
|
||||
return api_error(status.HTTP_500_INTERNAL_SERVER_ERROR, error_msg)
|
||||
|
||||
result = {}
|
||||
result['upload_link'] = gen_file_upload_url(token, 'upload-api')
|
||||
result['upload_link'] = gen_file_upload_url(upload_token, 'upload-api')
|
||||
|
||||
return Response(result)
|
||||
|
||||
|
Reference in New Issue
Block a user