Skip to content

Commit

Permalink
Fix for getting task definition id from labels
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed Jul 19, 2024
1 parent f44b95c commit a49c580
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ export function getTaskBookingLabelFromTaskRequest(
}

export function getTaskDefinitionId(labels: TaskBookingLabels): string | null {
return labels.task_definition_id || null;
return labels['task_definition_id'] || null;
}

0 comments on commit a49c580

Please sign in to comment.