Skip to content
Snippets Groups Projects
Commit 328bb4b0 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

feat: update TriggerState interface

parent 2d165cde
No related branches found
No related tags found
3 merge requests!103Support,!102Dev,!91Features/review services
......@@ -47,7 +47,6 @@ const KonnectorResult: React.FC<KonnectorResultProps> = ({
const triggerState = await triggerService.fetchTriggerState(_trigger)
if (triggerState) {
console.log('TO CHECK - last sucess', triggerState)
if (triggerState.last_success) {
setLastExecutionDate(
new Date(triggerState.last_success).toLocaleString()
......
......@@ -18,8 +18,10 @@ export interface TriggerState {
last_error?: string
last_executed_job_id: string
last_execution: string
last_failed_job_id: string
last_failure: string
last_failed_job_id?: string
last_failure?: string
last_manual_execution: string
last_manual_job_id: string
last_success?: string
last_successful_job_id?: string
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment