partial commit of integrating the input validation (references and mandatory fields)
This commit is contained in:
parent
16c8bebfe0
commit
6890f0126b
@ -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()")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user