mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(api): update lastvisit and retainedfrom defaultvalues
This commit is contained in:
parent
d2c3ecf2f8
commit
0d85f0b2fe
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user