From a61c1c4ce8434a2b552fda12bcb0172ca57f7849 Mon Sep 17 00:00:00 2001 From: isra el Date: Sun, 22 Dec 2024 01:03:24 +0300 Subject: [PATCH] fix(api): fix webhook notification schema type issue --- api/src/webhook/schemas/webhook-notification.schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/webhook/schemas/webhook-notification.schema.ts b/api/src/webhook/schemas/webhook-notification.schema.ts index 3e366dc..f16a9f1 100644 --- a/api/src/webhook/schemas/webhook-notification.schema.ts +++ b/api/src/webhook/schemas/webhook-notification.schema.ts @@ -21,7 +21,7 @@ export class WebhookNotification { @Prop({ type: Types.ObjectId, ref: SMS.name }) sms: SMS - @Prop({ type: String }) + @Prop({ type: Date }) deliveredAt: Date @Prop({ type: Date })