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

@@ -33,7 +33,7 @@ class SystemDbController():
try:
# Check if the data to be inserted has an ID
if not system_data.get("_id"):
system_data['_id'] = uuid4()
system_data['_id'] = str(uuid4())
inserted_result = None
inserted_id = None