Skip to content

Commit 09bf56d

Browse files
committed
fix wf deadline field in admin server response
1 parent acdcf0b commit 09bf56d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbos/admin_server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ func toListWorkflowResponse(ws WorkflowStatus) (map[string]any, error) {
143143
}
144144

145145
if !ws.Deadline.IsZero() {
146-
result["Deadline"] = ws.Deadline.UTC().UnixMilli()
146+
result["WorkflowDeadlineEpochMS"] = ws.Deadline.UTC().UnixMilli()
147147
} else {
148-
result["Deadline"] = nil
148+
result["WorkflowDeadlineEpochMS"] = nil
149149
}
150150

151151
if !ws.StartedAt.IsZero() {

0 commit comments

Comments
 (0)