fix database api

This commit is contained in:
Swapnil 2024-01-30 11:34:44 +05:30
parent c96c36f175
commit 12db644751
Signed by: swapnil
GPG Key ID: 58029C48BB100574
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ def get_latest_token():
'access_token': latest_token.access_token,
'refresh_token': latest_token.refresh_token,
'expiration_seconds': latest_token.expiration_seconds,
'is_logged_in': latest_token.is_logged_in,
'timestamp': int(latest_token.timestamp.timestamp())
}
return jsonify({'token': token_info}), 200