Skip to content

Commit

Permalink
docs: fix typo in dynamic stale code example (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
herrmannplatz authored Jan 10, 2024
1 parent a79dd9b commit 1cd917d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Options:
cache.define('fetchUserProfile', {
ttl: 60,
state: (result) => result.staleWhileRevalidateInSeconds
stale: (result) => result.staleWhileRevalidateInSeconds
}, async () => {
const response = await fetch("https://example.com/token");
Expand Down

0 comments on commit 1cd917d

Please sign in to comment.