mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
OAuth2: Return success=true in POST request
This commit is contained in:
parent
e9911e85a2
commit
8e312c4bcc
@ -142,6 +142,7 @@ def oauth_grant():
|
||||
db.session.commit()
|
||||
|
||||
return jsonify({
|
||||
"success": True,
|
||||
"access_token": token.access_token,
|
||||
"token_type": "Bearer",
|
||||
})
|
||||
|
@ -69,6 +69,7 @@ If successful, you'll receive:
|
||||
|
||||
```json
|
||||
{
|
||||
"success": true,
|
||||
"access_token": "access_token",
|
||||
"token_type": "Bearer"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user