diff --git a/src/server/BreCal/impl/shipcalls.py b/src/server/BreCal/impl/shipcalls.py index b999902..df4c9b6 100644 --- a/src/server/BreCal/impl/shipcalls.py +++ b/src/server/BreCal/impl/shipcalls.py @@ -136,7 +136,7 @@ def PostShipcalls(schemaModel): new_id = commands.execute_scalar("select last_insert_id()") shipdata = get_ship_data_for_id(schemaModel["ship_id"]) - message = {shipdata['name']} + message = shipdata['name'] if "type_value" in schemaModel: match schemaModel["type_value"]: case 1: @@ -146,6 +146,7 @@ def PostShipcalls(schemaModel): case 3: message += " [SHIFTING]" + # add participant assignments if we have a list of participants if 'participants' in schemaModel: # pquery = SQLQuery.get_shipcall_post_update_shipcall_participant_map()