🔀 Merge branch 'feature/slack-extended' of https://github.com/RicardoE105/n8n into RicardoE105-feature/slack-extended

This commit is contained in:
Jan Oberhauser
2020-05-07 00:47:07 +02:00
2 changed files with 1211 additions and 18 deletions

View File

@@ -0,0 +1,10 @@
export function validateJSON(json: string | undefined): any { // tslint:disable-line:no-any
let result;
try {
result = JSON.parse(json!);
} catch (exception) {
result = undefined;
}
return result;
}

File diff suppressed because it is too large Load Diff