We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27ca8ff commit f9a4427Copy full SHA for f9a4427
lib/MWaterDataSource.js
@@ -104,7 +104,7 @@ class MWaterDataSource extends DataSource_1.default {
104
// Clears the local cache
105
clearCache() {
106
var _a;
107
- (_a = this.cache) === null || _a === void 0 ? void 0 : _a.reset();
+ (_a = this.cache) === null || _a === void 0 ? void 0 : _a.clear();
108
// Set new cache expiry
109
this.cacheExpiry = new Date().getTime();
110
}
src/MWaterDataSource.ts
@@ -124,7 +124,7 @@ export default class MWaterDataSource extends DataSource {
124
125
126
127
- this.cache?.reset()
+ this.cache?.clear()
128
129
130
this.cacheExpiry = new Date().getTime()
0 commit comments