aboutsummaryrefslogtreecommitdiff
path: root/db/cache.go
diff options
context:
space:
mode:
authorFChannel <>2022-05-07 15:11:35 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit3c5eebf6275e6d202f8a7b7f027aabcda5c1f332 (patch)
tree5fa2d82f9375ac49be357f0f8b70db06d5c97305 /db/cache.go
parent39012c6b17073f6933a5ead8beed64df555f7348 (diff)
more organizing structs to have object functions
need to fully test to be sure nothing broke with changes
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
}
}