summaryrefslogtreecommitdiffstats
path: root/src/app/networking/NetworkCalls.js
diff options
context:
space:
mode:
authorArul.Nambi <arul.nambi@amdocs.com>2018-09-21 10:09:37 -0400
committerArul.Nambi <arul.nambi@amdocs.com>2018-09-21 10:09:52 -0400
commit947af7d0e262bc2be903ff1ee766a252d9d3ddb3 (patch)
tree45b1ac35834ab3c70a2af11bf96ff017d6e8d971 /src/app/networking/NetworkCalls.js
parent21ab8d88d55d264eff83d628ba924e95cff52fc4 (diff)
Fixing the errors on OOM
Issue-ID: AAI-1669 Change-Id: Ie47a0fd7ecff6f21f6ffb8f42a962c6652f87a93 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
Diffstat (limited to 'src/app/networking/NetworkCalls.js')
-rw-r--r--src/app/networking/NetworkCalls.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/app/networking/NetworkCalls.js b/src/app/networking/NetworkCalls.js
index e391391..9bf7535 100644
--- a/src/app/networking/NetworkCalls.js
+++ b/src/app/networking/NetworkCalls.js
@@ -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) => {