setting up a local mysql database and running the API locally, which requires slight adaptations. Implementing input validation for POST requests of shipcalls and adapting enumerators, as well as data models.

This commit is contained in:
Max Metz 2024-04-24 08:26:37 +02:00
parent a38dada3de
commit e85c994692

View File

@ -126,7 +126,6 @@ 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()")