fix database api
This commit is contained in:
parent
d0c888d6c4
commit
6614f74c9f
|
@ -50,6 +50,7 @@ def get_latest_token():
|
||||||
'access_token': latest_token.access_token,
|
'access_token': latest_token.access_token,
|
||||||
'refresh_token': latest_token.refresh_token,
|
'refresh_token': latest_token.refresh_token,
|
||||||
'expiration_seconds': latest_token.expiration_seconds,
|
'expiration_seconds': latest_token.expiration_seconds,
|
||||||
|
'is_logged_in': latest_token.is_logged_in,
|
||||||
'timestamp': int(latest_token.timestamp.timestamp())
|
'timestamp': int(latest_token.timestamp.timestamp())
|
||||||
}
|
}
|
||||||
return jsonify({'token': token_info}), 200
|
return jsonify({'token': token_info}), 200
|
||||||
|
|
Loading…
Reference in New Issue
Block a user