feat(products): change reset-all endpoint method from DELETE to POST
This commit is contained in:
@@ -111,7 +111,7 @@ export class ProductsController {
|
||||
return this.productsService.restore(id);
|
||||
}
|
||||
|
||||
@Delete('reset-all')
|
||||
@Post('reset-all')
|
||||
@HttpCode(200)
|
||||
resetAll() {
|
||||
return this.productsService.resetAll();
|
||||
|
||||
Reference in New Issue
Block a user