This commit is contained in:
Izalia Mae 2024-02-19 23:52:03 -05:00
parent 162f813c05
commit db75cb4886
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ class HttpClient:
return loads(item.value) return loads(item.value)
except KeyError: except KeyError:
logging.verbose('Failed to fetch cached data for url: %s', url) logging.verbose('No cached data for url: %s', url)
headers = {} headers = {}

View file

@ -170,7 +170,7 @@ class Inbox(View):
with self.database.session() as conn: with self.database.session() as conn:
for inbox in conn.execute('SELECT * FROM inboxes'): for inbox in conn.execute('SELECT * FROM inboxes'):
inbox['created'] = created.isoformat() inbox['created'] = inbox['created'].isoformat()
data.append(inbox) data.append(inbox)
return Response.new(data, ctype = 'json') return Response.new(data, ctype = 'json')