fix: bug
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-08-11 16:52:34 +08:00
parent e8e4f21643
commit 95ccf2865d
1 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,10 @@ auth = APIBlueprint('auth', __name__)
@auth.input(WechatLoginIn) @auth.input(WechatLoginIn)
@auth.output(WechatLoginOut) @auth.output(WechatLoginOut)
def wechat_login(data): def wechat_login(data):
result = rpc.admin.wechat_login(data['code']) try:
result = rpc.admin.wechat_login(data['code'])
except Exception as e:
raise e
return result return result