diff --git a/app/models.py b/app/models.py index ed85b50..5df5a32 100644 --- a/app/models.py +++ b/app/models.py @@ -1,5 +1,5 @@ from pydantic import BaseModel -from typing import List, Optional +from typing import List, Optional, Union from enum import Enum @@ -25,7 +25,7 @@ class TalkgroupTag(BaseModel): class ConfigGenerator(BaseModel): type: DecodeMode systemName: str - channels: List[str] + channels: List[Union[int, str]] tags: Optional[List[TalkgroupTag]] whitelist: Optional[List[int]]