aboutsummaryrefslogtreecommitdiff
path: root/db/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'db/cache.go')
-rw-r--r--db/cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/cache.go b/db/cache.go
index 71e244f..a20a8ed 100644
--- a/db/cache.go
+++ b/db/cache.go
@@ -63,7 +63,7 @@ func WriteActorToCache(actorID string) error {
}
for _, e := range collection.OrderedItems {
- if _, err := activitypub.WriteActorObjectToCache(e); err != nil {
+ if _, err := e.WriteActorObjectToCache(); err != nil {
return err
}
}