summaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'gui-clamp/ui-react/src/api')
-rw-r--r--gui-clamp/ui-react/src/api/LoopActionService.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui-clamp/ui-react/src/api/LoopActionService.js b/gui-clamp/ui-react/src/api/LoopActionService.js
index f3695c2..6f3b22f 100644
--- a/gui-clamp/ui-react/src/api/LoopActionService.js
+++ b/gui-clamp/ui-react/src/api/LoopActionService.js
@@ -32,7 +32,7 @@ export default class LoopActionService {
})
.then(function (response) {
if (response.ok) {
- return response.json();
+ return response;
} else {
return Promise.reject("Perform action failed with code:" + response.status);
}