setup restuarant

This commit is contained in:
2025-12-27 10:40:15 +03:30
parent 21da5d52f8
commit c8e00f9e1a
6 changed files with 83 additions and 34 deletions
@@ -77,8 +77,7 @@ export class RestaurantsController {
@ApiOperation({ summary: 'Create a new restaurant' })
@Post('super-admin/restaurants')
createRestaurant(@Body() createRestaurantDto: CreateRestaurantDto) {
console.log('create rest')
return this.restaurantsService.create(createRestaurantDto);
return this.restaurantsService.setupRestuarant(createRestaurantDto);
}
@UseGuards(SuperAdminAuthGuard)