diff --git a/app/templates/home.html b/app/templates/home.html index dc1dcbe..1655831 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -16,7 +16,7 @@
- +
diff --git a/database/main.py b/database/main.py index a694ec4..700e5a0 100644 --- a/database/main.py +++ b/database/main.py @@ -60,7 +60,7 @@ def get_token_by_id(id): 'email': token.email, 'access_token': token.access_token, 'refresh_token': token.refresh_token, - 'expiration_seconds': token.expiration_seconds, + 'expiration_seconds': int(token.expiration_seconds), 'readwise_api_key': token.readwise_api_key, 'active': token.active, 'timestamp': int(token.timestamp.timestamp())