mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Merge d754a8bfe7
into d2c3ecf2f8
This commit is contained in:
commit
395a22d179
@ -90,13 +90,13 @@ export class SubscriberStub extends BaseSchema {
|
|||||||
|
|
||||||
@Prop({
|
@Prop({
|
||||||
type: Date,
|
type: Date,
|
||||||
default: () => Date.now() + 7 * 24 * 60 * 60 * 1000,
|
default: () => Date.now(),
|
||||||
})
|
})
|
||||||
lastvisit?: Date;
|
lastvisit?: Date;
|
||||||
|
|
||||||
@Prop({
|
@Prop({
|
||||||
type: Date,
|
type: Date,
|
||||||
default: () => Date.now() + 7 * 24 * 60 * 60 * 1000,
|
default: () => Date.now(),
|
||||||
})
|
})
|
||||||
retainedFrom?: Date;
|
retainedFrom?: Date;
|
||||||
|
|
||||||
|
4
api/src/utils/test/fixtures/subscriber.ts
vendored
4
api/src/utils/test/fixtures/subscriber.ts
vendored
@ -23,8 +23,8 @@ export const subscriberDefaultValues: TSubscriberFixtures['defaultValues'] = {
|
|||||||
timezone: 0,
|
timezone: 0,
|
||||||
assignedTo: null,
|
assignedTo: null,
|
||||||
assignedAt: null,
|
assignedAt: null,
|
||||||
lastvisit: new Date(Date.now() + 7 * 24 * 60 * 60 * 1000),
|
lastvisit: new Date(),
|
||||||
retainedFrom: new Date(Date.now() + 7 * 24 * 60 * 60 * 1000),
|
retainedFrom: new Date(),
|
||||||
avatar: null,
|
avatar: null,
|
||||||
context: {
|
context: {
|
||||||
vars: {},
|
vars: {},
|
||||||
|
Loading…
Reference in New Issue
Block a user