Skip to content

Commit

Permalink
update access_token type
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjaigner committed Jul 15, 2024
1 parent a694b15 commit 0c4e379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/types/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,14 @@ class PartialUploadConfig(StricterBaseModel):

class ThingsBoardConfig(StricterBaseModel):
host: str
access_token: int
access_token: str
seconds_per_publish_interval: int = pydantic.Field(..., ge=30, le=999999)
ca_cert: Optional[str]


class PartialThingsBoardConfig(StricterBaseModel):
host: Optional[str] = None
access_token: Optional[int] = None
access_token: Optional[str] = None
seconds_per_publish_interval: Optional[int] = pydantic.Field(
None, ge=30, le=999999
)
Expand Down

0 comments on commit 0c4e379

Please sign in to comment.