refactor(products): remove subcategory from Product model and related queries

This commit is contained in:
Nils-Johan Gynther
2026-05-03 15:54:23 +02:00
parent 5864a6f111
commit dbd8c6d849
4 changed files with 6 additions and 10 deletions
+1 -2
View File
@@ -42,9 +42,8 @@ export class ProductsController {
@Get()
findAll(
@Query('tag') tag?: string,
@Query('subcategory') subcategory?: string,
) {
return this.productsService.findAll({ tag, subcategory });
return this.productsService.findAll({ tag });
}
@Public()