fix database api

This commit is contained in:
Swapnil 2024-01-30 11:34:44 +05:30
parent d0c888d6c4
commit 6614f74c9f
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