Skip to content

Commit

Permalink
fix: get cache no result due to input sourceURL not equal with api re…
Browse files Browse the repository at this point in the history
…turned
  • Loading branch information
krau committed Nov 1, 2024
1 parent 933b6af commit e1ff2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/cached_artwork.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func GetCachedArtworkByURLWithCache(ctx context.Context, sourceURL string) (*mod
if err != nil {
return nil, err
}
cachedArtwork, err = dao.GetCachedArtworkByURL(ctx, sourceURL)
cachedArtwork, err = dao.GetCachedArtworkByURL(ctx, artwork.SourceURL)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit e1ff2ed

Please sign in to comment.