Skip to content

Commit 5e026ea

Browse files
committed
remove DTO transformers
1 parent 52b0132 commit 5e026ea

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

services/apps/alcs/src/alcs/application-decision/application-decision-condition/application-decision-condition-date/application-decision-condition-date.dto.ts

-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ export class ApplicationDecisionConditionDateDto {
55
@IsString()
66
uuid?: string;
77

8-
@Transform(({ value }) => (value ? new Date(value).getTime() : null))
98
@IsNumber()
109
@IsOptional()
1110
date?: number | null;
1211

13-
@Transform(({ value }) => (value ? new Date(value).getTime() : null))
1412
@IsNumber()
1513
@IsOptional()
1614
completedDate?: number | null;

services/apps/alcs/src/alcs/notice-of-intent-decision/notice-of-intent-decision-condition/notice-of-intent-decision-condition-date/notice-of-intent-decision-condition-date.dto.ts

-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ export class NoticeOfIntentDecisionConditionDateDto {
55
@IsString()
66
uuid?: string;
77

8-
@Transform(({ value }) => (value ? new Date(value).getTime() : null))
98
@IsNumber()
109
@IsOptional()
1110
date?: number | null;
1211

13-
@Transform(({ value }) => (value ? new Date(value).getTime() : null))
1412
@IsNumber()
1513
@IsOptional()
1614
completedDate?: number | null;

0 commit comments

Comments
 (0)