From: Diogo Franco (Kovensky) Date: Fri, 26 Jul 2013 15:45:32 +0000 (-0300) Subject: anidb: Correct cache key for LID.MyListEntry X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=fbcc6296ee6547aa88c6e6b4491a617a916ee107;p=go-anidb.git anidb: Correct cache key for LID.MyListEntry Caused lookups to always miss cache. --- diff --git a/mylistcache.go b/mylistcache.go index b004731..539af39 100644 --- a/mylistcache.go +++ b/mylistcache.go @@ -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