Add missing commit (#7097)

This commit is contained in:
Kristina
2024-11-04 21:32:18 +07:00
committed by GitHub
parent 0647206938
commit b063e98965
@@ -167,6 +167,7 @@ export class InboxNotificationsClientImpl implements InboxNotificationsClient {
await op.updateDoc(notification._class, notification.space, notification._id, { isViewed: true })
}
await op.update(docNotifyContext, { lastViewedTimestamp: Date.now() })
await op.commit()
}
async forceReadDoc (_id: Ref<Doc>, _class: Ref<Class<Doc>>): Promise<void> {