diff --git a/src/utils/handle-fetch-response.js b/src/utils/handle-fetch-response.js index 58692ce3..1c607a97 100644 --- a/src/utils/handle-fetch-response.js +++ b/src/utils/handle-fetch-response.js @@ -1,4 +1,4 @@ -export function parseResponse (response, cb = function(){}) { +export function parseResponse (response, cb = () => {}) { let json = response.json(); if (response.status >= 200 && response.status < 300) { return json;