release 1.4

This commit is contained in:
2026-03-12 21:28:09 +03:00
parent 0afe756739
commit df27e10005
4 changed files with 13 additions and 1 deletions
Vendored
BIN
View File
Binary file not shown.
+3 -1
View File
@@ -3,4 +3,6 @@ apiKey.csv
Dockerfile
.gitignore
.DS_Store
.env
.env
.venv/
__pycache__/
+9
View File
@@ -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", "")}
+1
View File
@@ -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()