1
0
Fork 0
mirror of synced 2024-06-29 19:41:03 +12:00

fix typos and linting issues

This commit is contained in:
Keviin Åberg Kultalahti 2021-01-25 13:36:35 +01:00
parent 21902aff14
commit 1798511811
2 changed files with 3 additions and 3 deletions

View file

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

View file

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