This commit is contained in:
Swapnil 2024-01-30 21:15:49 +05:30
parent 386cb0725a
commit 49bca30c88
Signed by: swapnil
GPG Key ID: 58029C48BB100574
1 changed files with 1 additions and 1 deletions

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