summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/lib/utils/poll_until_complete.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/lib/utils/poll_until_complete.js')
-rw-r--r--app/assets/javascripts/lib/utils/poll_until_complete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/utils/poll_until_complete.js b/app/assets/javascripts/lib/utils/poll_until_complete.js
index 199d0e6f0f7..d3b551ca755 100644
--- a/app/assets/javascripts/lib/utils/poll_until_complete.js
+++ b/app/assets/javascripts/lib/utils/poll_until_complete.js
@@ -29,7 +29,7 @@ export default (url, config = {}) =>
},
data: { url, config },
method: 'axiosGet',
- successCallback: response => {
+ successCallback: (response) => {
if (response.status === httpStatusCodes.OK) {
resolve(response);
eTagPoll.stop();