лог upload_entry в _upload_json, v1.24.1

This commit is contained in:
2026-06-17 19:50:31 +04:00
parent 4480b24245
commit c3232c43e7
+1
View File
@@ -135,6 +135,7 @@ class ContractsApp:
def _upload_json(self): def _upload_json(self):
"""Принять файл как base64. Сохранить строкой (без декодирования — быстро).""" """Принять файл как base64. Сохранить строкой (без декодирования — быстро)."""
data = request.get_json(silent=True) data = request.get_json(silent=True)
_log("upload_entry", f"data={'yes' if data else 'no'}")
if not data: if not data:
return jsonify({"error": "Нет JSON"}), 400 return jsonify({"error": "Нет JSON"}), 400