Skip to content

Commit

Permalink
fixed example code
Browse files Browse the repository at this point in the history
  • Loading branch information
rbshop committed Oct 11, 2024
1 parent 4569b1e commit f0e1845
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function createRickAndMortyClient({
body,
},
{
cache: options.cache ?? CacheLong(),
cacheStrategy: options.cache ?? CacheLong(),
shouldCacheResponse: (body) => !body?.error,
cacheKey: ['r&m', body],
displayName:
Expand Down

0 comments on commit f0e1845

Please sign in to comment.