сервисный журнал, фикс мультиклика на инструменты

This commit is contained in:
2025-12-14 11:52:48 +03:00
parent a3c48b55a1
commit ccec507033
9 changed files with 415 additions and 10 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ async def manage_toolkit(reqData: dict = Depends(requestDict)):
logger.info(f"Управление инструментами")
response = {"status": "error"}
action = reqData.get("body").get("action")
userId = reqData.get("body").get("UserId")
userId = reqData.get("body").get("userId")
toolkitData = reqData.get("body").get("formData")
if "category_id" in toolkitData:
toolkitData["category_id"] = int(toolkitData.get("category_id"))