1
0
Fork 0
Dieser Commit ist enthalten in:
Angus McLeod 2019-07-18 09:18:08 +10:00
Ursprung c9b7296640
Commit 0b90fdabcf

Datei anzeigen

@ -132,7 +132,7 @@ const CustomWizard = Discourse.Model.extend({
} }
//check if api_body is valid JSON //check if api_body is valid JSON
let api_body = a.get('api_body'); let api_body = a.get('api_body');
if (api_body != '') { if (api_body) {
try { try {
JSON.parse(api_body); JSON.parse(api_body);
} catch (e) { } catch (e) {