Skip to content

Commit 9a0b62b

Browse files
committed
remove logging from axios cache interceptor
1 parent fb9dd9c commit 9a0b62b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/routes/activity/activity.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ export class ActivityService {
367367
filters
368368
)
369369
.skip(skip)
370-
.limit(1000);
370+
.limit(10000);
371371
formattedData.push(
372372
...aggregation.map((activity) => ({
373373
timestamp: this.formatDate(activity.createdAt, timeZone),

src/server/common-services.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
AxiosCacheInstance,
44
setupCache,
55
buildKeyGenerator,
6-
} from 'axios-cache-interceptor/dev';
6+
} from 'axios-cache-interceptor';
77

88
let axios: AxiosCacheInstance;
99

@@ -21,7 +21,6 @@ export default () => {
2121
methods: ['get', 'post'],
2222
// Avoid using cache control set to false
2323
interpretHeader: false,
24-
debug: console.log,
2524
// Generate an unique key, based on all parameters listed
2625
generateKey: buildKeyGenerator((request) => ({
2726
method: request.method,

0 commit comments

Comments
 (0)