We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f7cdb commit bb3a345Copy full SHA for bb3a345
modules/st2-api/api.js
@@ -193,7 +193,7 @@ export class API {
193
headers,
194
transformResponse: [ function transformResponse(data, headers) {
195
if (typeof data === 'string' && headers['content-type'] &&
196
- headers['content-type'].indexOf('application/json') >-1) {
+ headers['content-type'].indexOf('application/json') > -1) {
197
try {
198
data = JSON.parse(data);
199
}
0 commit comments