Fixing the errors on OOM 31/68431/1
authorArul.Nambi <arul.nambi@amdocs.com>
Fri, 21 Sep 2018 14:09:37 +0000 (10:09 -0400)
committerArul.Nambi <arul.nambi@amdocs.com>
Fri, 21 Sep 2018 14:09:52 +0000 (10:09 -0400)
Issue-ID: AAI-1669
Change-Id: Ie47a0fd7ecff6f21f6ffb8f42a962c6652f87a93
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
src/app/contextHandler/ContextHandlerActions.js
src/app/networking/NetworkCalls.js

index b4805e1..f3ede6d 100644 (file)
@@ -105,7 +105,8 @@ function fetchSubscriptionPayload(fetchRequestCallback) {
 
 export function getSubscriptionPayload() {
   let externalfetchRequest =
-    () => networkCall.getRequest(SUBSCRIPTION_PAYLOAD_URL, GET);
+  () => networkCall.getRequest(SUBSCRIPTION_PAYLOAD_URL, GET);
+  
   return dispatch => {
     dispatch(fetchSubscriptionPayload(externalfetchRequest));
   };
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) => {

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use