Fixing the errors on OOM
[aai/sparky-fe.git] / src / app / networking / NetworkCalls.js
index e391391..9bf7535 100644 (file)
@@ -55,9 +55,7 @@ function getRequest(URL, GET) {
   return fetch(URL, {
     credentials: 'same-origin',
     method: GET
-  }).then(
-    (response) => response.json()
-  );
+  });
 }
 
 const genericRequest = (url, relativeURL, httpMethodType) => {