Repository navigation
Commit 8fbc6b2
fix(caching-guide): correct jokeAPI.get() signature in complete example (#521)
The 'Putting It All Together' example used `async get()` with `this.getId()`
which throws at runtime. The correct signature is `async get(id)` — consistent
with the earlier 'Wrapping an External Data Source' section and the working
caching-guide-example repo.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent feea8f0 commit 8fbc6b2
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | | - | |
| 338 | + | |
340 | 339 | | |
341 | 340 | | |
342 | 341 | | |
| |||
0 commit comments