From db75cb4886359b5707cb61595abe6747b16d14ff Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Mon, 19 Feb 2024 23:52:03 -0500 Subject: [PATCH] e --- relay/http_client.py | 2 +- relay/views/api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/relay/http_client.py b/relay/http_client.py index 6bed4ae..7e7bbd9 100644 --- a/relay/http_client.py +++ b/relay/http_client.py @@ -111,7 +111,7 @@ class HttpClient: return loads(item.value) except KeyError: - logging.verbose('Failed to fetch cached data for url: %s', url) + logging.verbose('No cached data for url: %s', url) headers = {} diff --git a/relay/views/api.py b/relay/views/api.py index be5999d..56a5a25 100644 --- a/relay/views/api.py +++ b/relay/views/api.py @@ -170,7 +170,7 @@ class Inbox(View): with self.database.session() as conn: for inbox in conn.execute('SELECT * FROM inboxes'): - inbox['created'] = created.isoformat() + inbox['created'] = inbox['created'].isoformat() data.append(inbox) return Response.new(data, ctype = 'json')