From 0d85f0b2feece7f34f3f11f418372202a3f3493d Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Thu, 26 Jun 2025 08:35:03 +0100 Subject: [PATCH] fix(api): update lastvisit and retainedfrom defaultvalues --- api/src/chat/schemas/subscriber.schema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/chat/schemas/subscriber.schema.ts b/api/src/chat/schemas/subscriber.schema.ts index ba3ea80a..1cfdbd68 100644 --- a/api/src/chat/schemas/subscriber.schema.ts +++ b/api/src/chat/schemas/subscriber.schema.ts @@ -90,13 +90,13 @@ export class SubscriberStub extends BaseSchema { @Prop({ type: Date, - default: () => Date.now() + 7 * 24 * 60 * 60 * 1000, + default: () => Date.now(), }) lastvisit?: Date; @Prop({ type: Date, - default: () => Date.now() + 7 * 24 * 60 * 60 * 1000, + default: () => Date.now(), }) retainedFrom?: Date;