diff --git a/src/category/category.controller.ts b/src/category/category.controller.ts index 10e594cee0ec3483dacf39853523353774819408..0231578a0622125389cb106bf3d239ada5fbc46a 100644 --- a/src/category/category.controller.ts +++ b/src/category/category.controller.ts @@ -74,6 +74,6 @@ export class CategoryController { public async delete(@Param('id') id: number) { const user = await this.auth.user(); await this.categories.delete(id, user); - return 'OK'; + return id; } }