Фикс процедуры

This commit is contained in:
2024-12-11 23:43:07 +03:00
parent fd4d3ea051
commit c9d18b62da
2 changed files with 3 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ def check_report(input_data: dict) -> bool:
db_config = current_app.config["db_config"]
result = procedure(db_config, "check_report", tuple(input_data.values()))
if result is None or result["exist"] == 0:
if result is None or result == 0:
return False
return True