setup restuarant
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user