mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
docs: add missing 'different' word into the code example comment (#984)
This commit is contained in:
parent
9e426d51a7
commit
81edeb2f3b
@ -18,7 +18,7 @@ import { setupCache } from 'axios-cache-interceptor';
|
||||
|
||||
const axios = setupCache(Axios);
|
||||
// [!code focus:5]
|
||||
// These two requests are from completely endpoints, but they will share
|
||||
// These two requests are from completely different endpoints, but they will share
|
||||
// the same resources and cache, as both have the same ID.
|
||||
const reqA = await axios.get('/a', { id: 'custom-id' });
|
||||
const reqB = await axios.get('/b', { id: 'custom-id' });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user