mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-23 17:32:48 +08:00
fix(server): make status optional (#11176)
This commit is contained in:
@@ -114,7 +114,7 @@ export class ContextSession implements AsyncDisposable {
|
||||
if (doc) {
|
||||
return doc;
|
||||
}
|
||||
const record = { id: docId, createdAt: Date.now(), status: null };
|
||||
const record = { id: docId, createdAt: Date.now() };
|
||||
this.config.docs.push(record);
|
||||
await this.save();
|
||||
return record;
|
||||
|
||||
Reference in New Issue
Block a user