mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
Fix zapier.
This commit is contained in:
parent
6e35a94051
commit
bac666383f
@ -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"
|
||||
}
|
||||
}
|
@ -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!');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user