Skip to content

Commit eefd272

Browse files
tag: v1.8.1
1 parent 85ce654 commit eefd272

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "axios-cache-interceptor",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"description": "Cache interceptor for axios",
55
"keywords": [
66
"axios",

src/interceptors/request.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,12 @@ export function defaultRequestInterceptor(axios: AxiosCacheInstance): RequestInt
300300
statusText: cachedResponse.statusText,
301301
cached: true,
302302
stale: (cache as LoadingStorageValue).previous === 'stale',
303-
304303
id: config.id!
305304
});
306305
};
307306

307+
console.log(config.adapter.name)
308+
308309
if (__ACI_DEV__) {
309310
axios.debug({
310311
id: config.id,

0 commit comments

Comments
 (0)