aboutsummaryrefslogtreecommitdiff
path: root/db/cache.go
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-11-02 15:06:42 -0300
committerFChannel <>2022-06-19 12:53:29 -0700
commitd80afd8a49f552c5dc51d8346d40809298fef11f (patch)
tree549e0dac8fe0ed21f283c92d7cd6daf40f3941ac /db/cache.go
parent36a41e03c59624a2b4a7eb174e9a003e288a1d7d (diff)
db package now compiles without error for now
Diffstat (limited to 'db/cache.go')
-rw-r--r--db/cache.go6
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 {