Skip to content

Commit

Permalink
Update cache.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostrider-05 committed Mar 7, 2025
1 parent 243d7a4 commit 5ce1e1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/examples/mock/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { PatreonMock, RouteBases, Routes } from 'patreon-api.ts'
const mock = new PatreonMock({
cache: {
initial: {
// @ts-expect-error Remove this when all attributes are added
campaign: new Map([
['my-campaign-id', {
item: {
Expand All @@ -20,6 +21,7 @@ const mock = new PatreonMock({
}
}],
]),
// @ts-expect-error Remove this when all attributes are added
user: new Map([
['creator-id', {
item: {
Expand Down

0 comments on commit 5ce1e1b

Please sign in to comment.