forked from PeterSurda/inoreader2readwise
fix: database - timestamp
This commit is contained in:
parent
1d1c2aac9f
commit
29a39cb633
|
@ -48,7 +48,7 @@ def get_latest_token():
|
|||
'access_token': latest_token.access_token,
|
||||
'refresh_token': latest_token.refresh_token,
|
||||
'expiration_seconds': latest_token.expiration_seconds,
|
||||
'timestamp': latest_token.timestamp.isoformat()
|
||||
'timestamp': int(latest_token.timestamp.timestamp())
|
||||
}
|
||||
return jsonify({'token': token_info}), 200
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user