release 1.4
This commit is contained in:
@@ -487,6 +487,15 @@ async def resend_post(
|
||||
|
||||
logger.info("✅ Повторная отправка успешна")
|
||||
|
||||
singing = await Signing.getSigningByTrackingId(trackingId)
|
||||
if singing.success and singing.data.deliveryType != deliveryType:
|
||||
previousDeliveryType = singing.data.deliveryType
|
||||
singing.data.deliveryType = deliveryType
|
||||
await singing.data.save()
|
||||
logger.info(
|
||||
f"🔄 Обновлен тип доставки с {previousDeliveryType} на {deliveryType} для трек-номера {trackingId}"
|
||||
)
|
||||
|
||||
return {"status": "SUCCESS", "message": resendResult.get("message", "")}
|
||||
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ from .attachment import *
|
||||
from .request_parser import RequestParser
|
||||
from .to_dict import *
|
||||
from .web import *
|
||||
from .pdf_saver import *
|
||||
|
||||
requestDict = RequestParser()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user