diff --git a/src/app/(main)/_models/Log.ts b/src/app/(main)/_models/Log.ts index 7c811be..36270ec 100644 --- a/src/app/(main)/_models/Log.ts +++ b/src/app/(main)/_models/Log.ts @@ -97,7 +97,7 @@ export class Log implements ILog { toFirestore(): any { const doc: any = { expiryDate: this.expiryDate ? this.expiryDate.toUTCString() : null, - lastUpdatedAt: this.lastUpdatedAt ? this.lastUpdatedAt.toUTCString() : null, + lastUpdatedAt: new Date().toUTCString(), data: this.data, createdDate: this.createdDate.toUTCString(), title: this.title ? this.title : '',