Minor bugs when creating a system

This commit is contained in:
Logan Cusano
2025-05-24 22:44:20 -04:00
parent 82d7160e5e
commit fbd0e65019
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ async def create_system_route():
if created_system:
print("Created new system:", created_system)
return jsonify(created_system), 201
return jsonify(created_system.to_dict()), 201
else:
abort(500, "Failed to create system in the database.")
except HTTPException: