Skip to content

Commit

Permalink
only for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Jan 26, 2024
1 parent b04e4b9 commit ed7d801
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const sanitizeRetentionEntity = (entity: RetentionEntity | undefined): Re
delete record[key]
}
}
if ('id' in record) {
if ('id' in record && record.type === 'actions') {
record.id = Number(record.id)
}
return record
Expand Down

0 comments on commit ed7d801

Please sign in to comment.