set permissions

This commit is contained in:
2025-12-23 14:39:29 +03:30
parent 98f973958d
commit 5accc89c00
8 changed files with 58 additions and 69 deletions
@@ -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' })