fix typos and linting issues
This commit is contained in:
parent
58f8350984
commit
8ed9dd08cf
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue