diff options
Diffstat (limited to 'db/cache.go')
-rw-r--r-- | db/cache.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/db/cache.go b/db/cache.go index 0831f02..6f1ee8f 100644 --- a/db/cache.go +++ b/db/cache.go @@ -290,7 +290,11 @@ func WriteActorToCache(actorID string) error { if err != nil { return err } - collection := GetActorCollection(actor.Outbox) + + collection, err := webfinger.GetActorCollection(actor.Outbox) + if err != nil { + return err + } for _, e := range collection.OrderedItems { if _, err := WriteActorObjectToCache(e); err != nil { |