This commit is contained in:
Philipinho
2026-04-13 23:12:02 +01:00
parent bd68e47e03
commit de09ce7520
13 changed files with 306 additions and 27 deletions
@@ -48,6 +48,15 @@ export class SpaceWatcherController {
return space;
}
@HttpCode(HttpStatus.OK)
@Post('watched-ids')
async getWatchedSpaceIds(
@AuthUser() user: User,
@AuthWorkspace() workspace: Workspace,
) {
return this.watcherService.getWatchedSpaceIds(user.id, workspace.id);
}
@HttpCode(HttpStatus.OK)
@Post('watch')
async watchSpace(