partial commit of integrating the input validation (references and mandatory fields)

This commit is contained in:
scopesorting 2023-12-12 17:07:09 +01:00 committed by Max Metz
parent 16c8bebfe0
commit 6890f0126b

View File

@ -126,6 +126,7 @@ def PostShipcalls(schemaModel):
# if not full_id_existances:
# pooledConnection.close()
# return json.dumps({"message" : "call failed. missing mandatory keywords."}), 500, {'Content-Type': 'application/json; charset=utf-8'}
commands.execute(query, schemaModel)
new_id = commands.execute_scalar("select last_insert_id()")