Fix type in config gen to_dict

This commit is contained in:
Logan Cusano
2025-04-27 02:39:34 -04:00
parent a3ff5f6694
commit 44851d5c86

View File

@@ -35,7 +35,7 @@ class ConfigGenerator:
# Add a method to convert to a dictionary, useful for sending as JSON
def to_dict(self) -> Dict[str, Any]:
data = {
"type": self.type.value, # Use .value for Enum
"type": self.type,
"systemName": self.systemName,
"frequencies": self.frequencies,
}