We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ca8ff commit 584c064Copy full SHA for 584c064
src/client.js
@@ -146,7 +146,8 @@ export class ApiClient {
146
147
query.cache = await this.request(query.url, { headers })
148
query.timestamp = new Date().getTime()
149
-
+ query.promise = null
150
+
151
const result = this.normalize(query.cache)
152
153
this.dispatch({
@@ -164,8 +165,6 @@ export class ApiClient {
164
165
this.scheduleGC(query, query.cacheTime)
166
}
167
- query.promise = null
168
169
return result
170
})())
171
0 commit comments