first is now a Response object, not a dict

This commit is contained in:
jesopo 2019-09-17 18:05:39 +01:00
parent 14d28d836b
commit 9d4830dd88

View file

@ -34,7 +34,7 @@ class Outbox(object):
else:
# mastodon
first = ap_utils.activity_request(outbox.data["first"])
items = first["orderedItems"]
items = first.data["orderedItems"]
else:
items = outbox.data["orderedItems"]
return items