Small fixes

This commit is contained in:
Jan Oberhauser 2020-05-02 12:30:23 +02:00
parent 7eec8ee186
commit 0b438e2738
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ export async function asanaApiRequest(this: IHookFunctions | IExecuteFunctions |
// Return a clear error
throw new Error('The Asana credentials are not valid!');
}
console.log(error);
if (error.response && error.response.body && error.response.body.errors) {
// Try to return the error prettier
const errorMessages = error.response.body.errors.map((errorData: { message: string }) => {

View file

@ -521,7 +521,7 @@ export class SurveyMonkeyTrigger implements INodeType {
for (const question of questions) {
/*
TODO add support for premiun companents
TODO: add support for premium components
- File Upload
- Matrix of dropdowm menus
*/