aboutsummaryrefslogtreecommitdiff
path: root/db/cache.go
diff options
context:
space:
mode:
authorFChannel <>2022-05-07 21:21:38 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commitf7bf818d29393ceaccf4d2906557351fa6a4f49f (patch)
tree723e542c8cf0db1e7e64923718977138db77b58d /db/cache.go
parent3c5eebf6275e6d202f8a7b7f027aabcda5c1f332 (diff)
added error func and general cleanup/organization
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 a20a8ed..d1c1fe7 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 := e.WriteActorObjectToCache(); err != nil {
+ if err := e.WriteCache(); err != nil {
return err
}
}