Separate services - app, db, and job #1
|
@ -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