Removed useless information from the dev tool output

This commit is contained in:
Jesús Ángel González 2018-05-11 11:23:53 +02:00
parent b34b397128
commit 37b912ed68

View File

@ -243,9 +243,6 @@ app.controller('devToolsController', function($scope, $rootScope, errorHandler,
const output = await apiReq.request(method, path, validJSON && !req.includes('?') ? JSONraw : params) const output = await apiReq.request(method, path, validJSON && !req.includes('?') ? JSONraw : params)
apiOutputBox.setValue( apiOutputBox.setValue(
desiredGroup.requestText + '\n' +
(validJSON ? JSON.stringify(JSONraw,null,2) + '\n' : '\n') +
'\n' +
JSON.stringify(output.data.data,null,2) JSON.stringify(output.data.data,null,2)
) )