Skip to content

Commit

Permalink
[frontend] Fix error at infrastructure creation (#9698)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archidoit authored Jan 27, 2025
1 parent 7ed76c1 commit 32f1513
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export const InfrastructureCreationForm: FunctionComponent<InfrastructureFormPro
infrastructure_types: values.infrastructure_types,
confidence: parseInt(String(values.confidence), 10),
first_seen: values.first_seen ? parse(values.first_seen).format() : null,
last_seen: values.first_seen ? parse(values.last_seen).format() : null,
last_seen: values.last_seen ? parse(values.last_seen).format() : null,
killChainPhases: (values.killChainPhases ?? []).map(({ value }) => value),
createdBy: values.createdBy?.value,
objectMarking: values.objectMarking.map((v) => v.value),
Expand Down

0 comments on commit 32f1513

Please sign in to comment.