From da340572b6175c39b6c8137605fa6ad6ee4f69d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=81=A5=E8=BE=89?= Date: Wed, 19 Jun 2019 12:19:34 +0800 Subject: [PATCH] fix code --- seahub/api2/endpoints/dtable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seahub/api2/endpoints/dtable.py b/seahub/api2/endpoints/dtable.py index f3bcbe0833..1569c693ad 100644 --- a/seahub/api2/endpoints/dtable.py +++ b/seahub/api2/endpoints/dtable.py @@ -578,7 +578,7 @@ class DTableAssetUploadLinkView(APIView): try: token = seafile_api.get_fileserver_access_token(repo_id, 'dummy', 'upload', - owner, use_onetime=False) + '', use_onetime=False) except Exception as e: logger.error(e) error_msg = 'Internal Server Error'