]> git.lizzy.rs Git - go-anidb.git/blobdiff - mylistcache.go
anidb: Correct cache key for LID.MyListEntry
[go-anidb.git] / mylistcache.go
index b0047317b7bebd2b7b754fe220cd93ecac6f5da0..539af39140b6928cf089ea3b076a04fb8fa3773a 100644 (file)
@@ -38,7 +38,7 @@ func (uid UID) MyList(fid FID) *MyListEntry {
 
 func (lid LID) MyListEntry() *MyListEntry {
        var e MyListEntry
-       if CacheGet(&e, "lid", lid) == nil {
+       if CacheGet(&e, "mylist", lid) == nil {
                return &e
        }
        return nil