feat: deal update response message fix

This commit is contained in:
2024-05-27 00:02:35 +03:00
parent 8e7812fb66
commit 803dfcf108

View File

@@ -429,7 +429,7 @@ class DealService(BaseService):
.values(**service_dict)
)
await self.session.commit()
return DealUpdateServiceQuantityResponse(ok=True, message='Количество успешно обновлено')
return DealUpdateServiceQuantityResponse(ok=True, message='Услуга успешно обновлена')
except Exception as e:
await self.session.rollback()
return DealUpdateServiceQuantityResponse(ok=False, message=str(e))