diff options
author | 2019-11-25 10:49:34 +0100 | |
---|---|---|
committer | 2019-11-25 10:49:34 +0100 | |
commit | c3a8d26cf4d7ffe3642cdc962e51e367885a9c12 (patch) | |
tree | 34d8cf9c8311165a81542d035079a91aa09ff3a6 /src/stores/lib | |
parent | Bump version number (diff) | |
parent | Bump version number (diff) | |
download | ferdium-app-5.4.0.tar.gz ferdium-app-5.4.0.tar.zst ferdium-app-5.4.0.zip |
Merge branch 'develop'v5.4.0
Diffstat (limited to 'src/stores/lib')
-rw-r--r-- | src/stores/lib/CachedRequest.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/lib/CachedRequest.js b/src/stores/lib/CachedRequest.js index ac8b2bd81..31c7ce241 100644 --- a/src/stores/lib/CachedRequest.js +++ b/src/stores/lib/CachedRequest.js | |||
@@ -39,7 +39,7 @@ export default class CachedRequest extends Request { | |||
39 | }), 0); | 39 | }), 0); |
40 | 40 | ||
41 | // Issue api call & save it as promise that is handled to update the results of the operation | 41 | // Issue api call & save it as promise that is handled to update the results of the operation |
42 | this._promise = new Promise((resolve, reject) => { | 42 | this._promise = new Promise((resolve) => { |
43 | this._api[this._method](...callArgs) | 43 | this._api[this._method](...callArgs) |
44 | .then((result) => { | 44 | .then((result) => { |
45 | setTimeout(action(() => { | 45 | setTimeout(action(() => { |
@@ -63,7 +63,7 @@ export default class CachedRequest extends Request { | |||
63 | this.wasExecuted = true; | 63 | this.wasExecuted = true; |
64 | this._isWaitingForResponse = false; | 64 | this._isWaitingForResponse = false; |
65 | this._triggerHooks(); | 65 | this._triggerHooks(); |
66 | reject(error); | 66 | // reject(error); |
67 | }), 1); | 67 | }), 1); |
68 | })); | 68 | })); |
69 | }); | 69 | }); |