mirror of
https://github.com/docmost/docmost.git
synced 2026-05-19 07:54:05 +08:00
feat: watch space (#2096)
This commit is contained in:
@@ -59,7 +59,12 @@ export class WatcherController {
|
||||
|
||||
await this.pageAccessService.validateCanView(page, user);
|
||||
|
||||
await this.watcherService.unwatchPage(user.id, page.id);
|
||||
await this.watcherService.unwatchPage(
|
||||
user.id,
|
||||
page.id,
|
||||
page.spaceId,
|
||||
page.workspaceId,
|
||||
);
|
||||
|
||||
return { watching: false };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user