refactor: change return type of remove funcs

This commit is contained in:
2026-06-30 14:46:17 +03:30
parent 2077477445
commit a134429fa4
4 changed files with 10 additions and 6 deletions
@@ -47,7 +47,7 @@ export class WorkspaceController {
@ApiParam({ name: 'id', description: 'Workspace ID' })
@ApiResponse({ status: 200, description: 'Workspace deleted' })
@ApiResponse({ status: 404, description: 'Workspace not found' })
remove(@Param('id') id: string): Promise<void> {
remove(@Param('id') id: string): Promise<TMWorkspace> {
return this.workspaceService.remove(id);
}
}