dffd
parent
6b0387e745
commit
ed2a9f40e6
|
@ -218,7 +218,7 @@ def oauth_grant():
|
|||
return data
|
||||
|
||||
else:
|
||||
return {"oauth_error": f"Invalid grant_type `{request.values.get('grant_type',''}`. Expected `code` or `refresh`."}), 400
|
||||
return {"oauth_error": f"Invalid grant_type `{request.values.get('grant_type','')}`. Expected `code` or `refresh`."}, 400
|
||||
|
||||
|
||||
@app.post("/api_keys")
|
||||
|
|
Loading…
Reference in New Issue