release 1.4
This commit is contained in:
+3
-1
@@ -3,4 +3,6 @@ apiKey.csv
|
|||||||
Dockerfile
|
Dockerfile
|
||||||
.gitignore
|
.gitignore
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.env
|
.env
|
||||||
|
.venv/
|
||||||
|
__pycache__/
|
||||||
@@ -487,6 +487,15 @@ async def resend_post(
|
|||||||
|
|
||||||
logger.info("✅ Повторная отправка успешна")
|
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", "")}
|
return {"status": "SUCCESS", "message": resendResult.get("message", "")}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ from .attachment import *
|
|||||||
from .request_parser import RequestParser
|
from .request_parser import RequestParser
|
||||||
from .to_dict import *
|
from .to_dict import *
|
||||||
from .web import *
|
from .web import *
|
||||||
|
from .pdf_saver import *
|
||||||
|
|
||||||
requestDict = RequestParser()
|
requestDict = RequestParser()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user