mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
fix: define an empty waiting object at creation
This commit is contained in:
parent
026d41e013
commit
2c49a49a63
@ -13,6 +13,7 @@ export function createCache(
|
||||
|
||||
axiosCache.storage = options.storage || new MemoryStorage();
|
||||
axiosCache.generateKey = options.generateKey || defaultKeyGenerator;
|
||||
axiosCache.waiting = options.waiting || {};
|
||||
|
||||
// CacheRequestConfig values
|
||||
axiosCache.defaults = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user