1
0
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:
lian
2017-06-30 11:41:22 +08:00
parent b2cc92da36
commit d4716acf11

View File

@@ -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)