mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-25 06:01:02 +10:00
feat: search
This commit is contained in:
@ -108,11 +108,13 @@ export class PageService {
|
||||
async updateState(
|
||||
pageId: string,
|
||||
content: any,
|
||||
textContent: string,
|
||||
ydoc: any,
|
||||
userId?: string, // TODO: fix this
|
||||
): Promise<void> {
|
||||
await this.pageRepository.update(pageId, {
|
||||
content: content,
|
||||
textContent: textContent,
|
||||
ydoc: ydoc,
|
||||
...(userId && { lastUpdatedById: userId }),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user