feat: change url name

This commit is contained in:
caturbgs 2021-12-17 01:57:02 +07:00
parent c5b5a4ab06
commit 4d1ac8dd0d

View File

@ -69,7 +69,7 @@ export class ProductController {
}; };
} }
@Get('get-all') @Get('all')
async findAll( async findAll(
@Query('page') page: number, @Query('page') page: number,
@Query('sub-category') subcategory: string, @Query('sub-category') subcategory: string,