Fix zapier.

This commit is contained in:
Nawaz Dhandala 2020-02-17 18:32:07 +01:00
parent 6e35a94051
commit bac666383f
No known key found for this signature in database
GPG Key ID: 43C184A0DB24F9F6
2 changed files with 6 additions and 2 deletions

View File

@ -76,6 +76,11 @@
"react/no-unescaped-entities": "error",
"react/display-name": ["error", {
"ignoreTranspilerName": true
}]
}],
"prefer-const": ["error", {
"destructuring": "any",
"ignoreReadBeforeAssign": false
}],
"no-var": "error"
}
}

View File

@ -9,7 +9,6 @@ const testAuth = (z, bundle) => {
return z.request({
url: 'https://api.fyipe.com/zapier/test',
}).then((response) => {
console.log('response: ', response);
if (response.status === 400) {
throw new Error('The API Key or Project ID you supplied is invalid!');
}