]> git.lizzy.rs Git - go-anidb.git/blobdiff - fileepcache.go
anidb: Handle invalid AID HTTP API response
[go-anidb.git] / fileepcache.go
index 3002959077b3daeeec5da1a42a70298738abc44e..e01db227685b95189018221eb672f820cb38a44f 100644 (file)
@@ -114,7 +114,7 @@ func (adb *AniDB) FIDsByGID(ep *Episode, gid GID) <-chan FID {
 
                switch reply.Code() {
                case 220:
-                       f := parseFileResponse(reply)
+                       f := adb.parseFileResponse(reply, true)
 
                        fids.FIDs = []FID{f.FID}
                        cache.Set(&fids, keys...)