From 67305b20d05cde61f3f36a5245a49689e136f6cd Mon Sep 17 00:00:00 2001 From: Andres Vallecilla Date: Thu, 12 Dec 2024 22:46:32 -0500 Subject: [PATCH] fix: lint --- packages/model/src/messages/calls/CallOfferRequestMessage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/model/src/messages/calls/CallOfferRequestMessage.ts b/packages/model/src/messages/calls/CallOfferRequestMessage.ts index fe994eb..3fac522 100644 --- a/packages/model/src/messages/calls/CallOfferRequestMessage.ts +++ b/packages/model/src/messages/calls/CallOfferRequestMessage.ts @@ -32,11 +32,11 @@ export class CallOfferRequestMessage extends BaseMessage { public static readonly type = MessageType.CallOfferRequestMessage @IsOptional() - @Transform(({ value }) => value ? DateParser(value) : undefined) + @Transform(({ value }) => (value ? DateParser(value) : undefined)) public offerExpirationTime?: Date @IsOptional() - @Transform(({ value }) => value ? DateParser(value) : undefined) + @Transform(({ value }) => (value ? DateParser(value) : undefined)) public offerStartTime?: Date @Expose()