Browse Source

fix typos and linting issues

gh-pages
Keviin Åberg Kultalahti 6 years ago
parent
commit
1798511811
  1. 2
      packages/client/src/api/automations.js
  2. 4
      packages/client/src/api/queries.js

2
packages/client/src/api/automations.js

@ -9,7 +9,7 @@ export const triggerAutomation = async (automationId, fields) => {
body: { fields }, body: { fields },
}) })
res.error res.error
? notificationStore.danger("En error has occurred") ? notificationStore.danger("An error has occurred")
: notificationStore.success("Automation triggered") : notificationStore.success("Automation triggered")
return res return res
} }

4
packages/client/src/api/queries.js

@ -12,7 +12,7 @@ export const executeQuery = async ({ queryId, parameters }) => {
}, },
}) })
res.error res.error
? notificationStore.danger("En error has occurred") ? notificationStore.danger("An error has occurred")
: notificationStore.success("Query successful") : notificationStore.success("Query successful")
return response return res
} }

Loading…
Cancel
Save