This commit is contained in:
Yassine 2025-06-26 07:39:02 +00:00 committed by GitHub
commit 395a22d179
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -23,8 +23,8 @@ export const subscriberDefaultValues: TSubscriberFixtures['defaultValues'] = {
timezone: 0,
assignedTo: null,
assignedAt: null,
lastvisit: new Date(Date.now() + 7 * 24 * 60 * 60 * 1000),
retainedFrom: new Date(Date.now() + 7 * 24 * 60 * 60 * 1000),
lastvisit: new Date(),
retainedFrom: new Date(),
avatar: null,
context: {
vars: {},