diff options
Diffstat (limited to 'src/stores/lib/Request.js')
-rw-r--r-- | src/stores/lib/Request.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/lib/Request.js b/src/stores/lib/Request.js index 1fb67cc15..486de8a49 100644 --- a/src/stores/lib/Request.js +++ b/src/stores/lib/Request.js | |||
@@ -109,7 +109,7 @@ export default class Request { | |||
109 | Request._hooks.forEach(hook => hook(this)); | 109 | Request._hooks.forEach(hook => hook(this)); |
110 | } | 110 | } |
111 | 111 | ||
112 | reset() { | 112 | reset = () => { |
113 | this.result = null; | 113 | this.result = null; |
114 | this.isExecuting = false; | 114 | this.isExecuting = false; |
115 | this.isError = false; | 115 | this.isError = false; |
@@ -118,5 +118,5 @@ export default class Request { | |||
118 | this._promise = Promise; | 118 | this._promise = Promise; |
119 | 119 | ||
120 | return this; | 120 | return this; |
121 | } | 121 | }; |
122 | } | 122 | } |