mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-10 02:17:59 +00:00
e
This commit is contained in:
parent
162f813c05
commit
db75cb4886
|
@ -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 = {}
|
||||||
|
|
||||||
|
|
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue