1 parent
d91f410668
commit
35893af67d
1 file changed
+4
-1
+4
-1
@@ -21,5 +21,8 @@ def wechat_login(json_data):
|
||||
@auth.input(RefreshTokenIn, location='query')
|
||||
@auth.output(RefreshTokenOut)
|
||||
def refresh_token(query_data):
|
||||
result = rpc.admin.refresh_token(query_data['refresh_token'])
|
||||
try:
|
||||
result = rpc.admin.refresh_token(query_data['refresh_token'])
|
||||
except Exception as e:
|
||||
raise e
|
||||
return result
|
||||
Reference in new issue
Block a user