refactor: inline single-use helpers in allanime

This commit is contained in:
2026-06-23 17:16:46 +02:00
committed by Milas Holsting
parent 2724f0f7ed
commit 648eb568ff
3 changed files with 8 additions and 19 deletions

View File

@@ -281,7 +281,7 @@ func (c *AllAnimeProvider) graphqlRequestWithHash(ctx context.Context, showID, e
return decrypted, nil
}
if hasEpisodeSourceURLs(data) {
if len(nestedSlice(data, "episode", "sourceUrls")) > 0 {
return parsed, nil
}