Separate services - app, db, and job #1

Open
swapnil wants to merge 36 commits from swapnil/inoreader2readwise:main into main
2 changed files with 2 additions and 2 deletions
Showing only changes of commit f34b85d79f - Show all commits

View File

@ -16,7 +16,7 @@
<!-- Take readiwse api key input --> <!-- Take readiwse api key input -->
<form action="/readwise" method="POST"> <form action="/readwise" method="POST">
<label for="api_key">Readwise API Key</label> <label for="api_key">Readwise API Key</label>
<input type="text" name="readwise_api_key" id="api_key", value="{{ readwise_api_key }}"> <input type="text" name="readwise_api_key" id="api_key", value="{{ readwise_api_key }}" required>
<input type="submit" value="Submit"> <input type="submit" value="Submit">
</form> </form>

View File

@ -60,7 +60,7 @@ def get_token_by_id(id):
'email': token.email, 'email': token.email,
'access_token': token.access_token, 'access_token': token.access_token,
'refresh_token': token.refresh_token, 'refresh_token': token.refresh_token,
'expiration_seconds': token.expiration_seconds, 'expiration_seconds': int(token.expiration_seconds),
'readwise_api_key': token.readwise_api_key, 'readwise_api_key': token.readwise_api_key,
'active': token.active, 'active': token.active,
'timestamp': int(token.timestamp.timestamp()) 'timestamp': int(token.timestamp.timestamp())