From f34b85d79fd567c3a1e453c520b2c06dd5245543 Mon Sep 17 00:00:00 2001 From: Swapnil Date: Tue, 30 Jan 2024 21:15:57 +0530 Subject: [PATCH] fixes --- app/templates/home.html | 2 +- database/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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())