From 6ad09ad9fc366646fef1b610c1b652cfeb3d0f2d Mon Sep 17 00:00:00 2001 From: BryantHe Date: Wed, 16 Aug 2023 15:40:33 +0800 Subject: [PATCH] fix: upload api 3 --- app/api/v1/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/v1/api.py b/app/api/v1/api.py index dbcd19f..c9e89d0 100644 --- a/app/api/v1/api.py +++ b/app/api/v1/api.py @@ -23,7 +23,7 @@ def wechat_login(files_data): try: result = rpc.storage.upload(file_name=str(session['user_id']+f'_{f.filename}'), file_binary=f.read(), - bucket='', + bucket='bodyrecord', folder='avatar', app='bodyrecord') except Exception as e: