This commit is contained in:
Swapnil 2024-01-30 21:15:49 +05:30
parent 327896abcc
commit 91ac98a60b
Signed by: swapnil
GPG Key ID: 58029C48BB100574

View File

@ -39,7 +39,7 @@ def home():
last_synced = datetime.fromtimestamp(token.get('timestamp')).strftime('%Y-%m-%d %H:%M:%S')
next_sync = datetime.fromtimestamp(token.get('timestamp') + token.get('expiration_seconds')).strftime('%Y-%m-%d %H:%M:%S')
return render_template('home.html', user_info=user_info,
readwise_api_key=token.get('readwise_api_key', None),
readwise_api_key=token.get('readwise_api_key'),
last_synced=last_synced, next_sync=next_sync)
# Generate a CSRF protection string