Рефактор
Deploy / deploy (push) Successful in 18m5s

This commit is contained in:
Раис Юсупалиев
2026-06-26 19:29:11 +03:00
parent c6c37640fd
commit 843175f12e
36 changed files with 795 additions and 461 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ class EmailSenderProtocol(Protocol):
class OrderRecord(Protocol):
order_uuid: str
account_email: str
cdek_waybill_url: str | None
provider_waybill_url: str | None
class WaybillEmailSenderRepositoryProtocol(Protocol):
@@ -133,7 +133,7 @@ class WaybillEmailSenderService:
continue
async def _handle_order(self, session: object, order: OrderRecord) -> None:
waybill_url = order.cdek_waybill_url
waybill_url = order.provider_waybill_url
if waybill_url is None:
return