Add custom fields support

done
This commit is contained in:
Ricardo Espinoza
2020-02-03 12:51:22 -05:00
parent 56c8d4688f
commit 624da2f727
5 changed files with 321 additions and 1 deletions

View File

@@ -54,3 +54,13 @@ export async function clickupApiRequestAllItems(this: IHookFunctions | IExecuteF
);
return returnData;
}
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;
}