Skip to content

Commit d136159

Browse files
fixing execute policy resp (#4159) (#4161)
(cherry picked from commit 62c0174) Co-authored-by: Laura Trotta <[email protected]>
1 parent c00564e commit d136159

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

specification/enrich/execute_policy/ExecuteEnrichPolicyResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ import { ExecuteEnrichPolicyStatus } from './types'
2323
export class Response {
2424
body: {
2525
status?: ExecuteEnrichPolicyStatus
26-
task_id?: TaskId
26+
task?: TaskId
2727
}
2828
}

specification/enrich/execute_policy/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919

2020
export class ExecuteEnrichPolicyStatus {
2121
phase: EnrichPolicyPhase
22+
step?: string
2223
}
2324

2425
export enum EnrichPolicyPhase {
2526
SCHEDULED,
2627
RUNNING,
2728
COMPLETE,
28-
FAILED
29+
FAILED,
30+
CANCELLED
2931
}

0 commit comments

Comments
 (0)