diff --git a/src/modules/restaurants/providers/restaurants.service.ts b/src/modules/restaurants/providers/restaurants.service.ts index 113c866..3881f70 100644 --- a/src/modules/restaurants/providers/restaurants.service.ts +++ b/src/modules/restaurants/providers/restaurants.service.ts @@ -158,15 +158,6 @@ export class RestaurantsService { throw new NotFoundException(RestMessage.NOT_FOUND); } - if(dto.slug){ - dto.slug = slugify(dto.slug, { - lower: true, - strict: true, - locale: 'fa' - }); - } - - this.restRepository.assign(restaurant, dto); await this.em.persistAndFlush(restaurant);