This commit is contained in:
2026-01-06 09:03:04 +03:30
parent 69921e1bf9
commit 6d216ba0d7
2 changed files with 54 additions and 1 deletions
@@ -122,4 +122,13 @@ export class RestaurantsController {
return this.restaurantsService.upgradeSubscription(subscriptionId, upgradeSubscriptionDto);
}
@UseGuards(SuperAdminAuthGuard)
@ApiBearerAuth()
@ApiOperation({ summary: 'Hard delete a restaurant and all related data' })
@ApiParam({ name: 'id', required: true, description: 'Restaurant ID' })
@Delete('super-admin/restaurants/:id/hard-delete')
hardDeleteRestaurant(@Param('id') id: string) {
return this.restaurantsService.hardDeleteRestaurant(id);
}
}