From 4d1ac8dd0d9ed948e72667d05d2c0ff0e6e529e7 Mon Sep 17 00:00:00 2001 From: caturbgs Date: Fri, 17 Dec 2021 01:57:02 +0700 Subject: [PATCH] feat: change url name --- src/product/product.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/product/product.controller.ts b/src/product/product.controller.ts index 2a0ef46..058cf15 100644 --- a/src/product/product.controller.ts +++ b/src/product/product.controller.ts @@ -69,7 +69,7 @@ export class ProductController { }; } - @Get('get-all') + @Get('all') async findAll( @Query('page') page: number, @Query('sub-category') subcategory: string,