set permissions
This commit is contained in:
@@ -51,15 +51,6 @@ export class RestaurantsController {
|
||||
return await this.restaurantsService.findOne(restId);
|
||||
}
|
||||
|
||||
// @UseGuards(AdminAuthGuard)
|
||||
// @ApiBearerAuth()
|
||||
// @ApiOperation({ summary: 'Update a restaurant' })
|
||||
// @ApiBody({ type: UpdateRestaurantDto })
|
||||
// @Patch('admin/restaurants/:id')
|
||||
// update(@Param('id') id: string, @Body() updateRestaurantDto: UpdateRestaurantDto) {
|
||||
// return this.restaurantsService.update(id, updateRestaurantDto);
|
||||
// }
|
||||
|
||||
@UseGuards(AdminAuthGuard)
|
||||
@ApiBearerAuth()
|
||||
@ApiOperation({ summary: 'Update a restaurant' })
|
||||
|
||||
Reference in New Issue
Block a user