Skip to content

Commit 7b2a4de

Browse files
authored
Merge pull request #21 from remnawave:development
Update version to 2.2.3.post2 and refactor hwidDeviceLimit naming
2 parents b4d6c5d + 2986cd3 commit 7b2a4de

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "remnawave"
3-
version = "2.2.3.post1"
3+
version = "2.2.3.post2"
44
description = "A Python SDK for interacting with the Remnawave API v2.2.3."
55
authors = [
66
{name = "Artem",email = "dev@forestsnet.com"}

remnawave/models/users.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class CreateUserRequestDto(BaseModel):
6262
tag: str | None = None
6363
telegram_id: int | None = Field(None, serialization_alias="telegramId")
6464
email: str | None = None
65-
hwidDeviceLimit: int | None = Field(
65+
hwid_device_limit: int | None = Field(
6666
None, serialization_alias="hwidDeviceLimit", strict=True, ge=0
6767
)
6868
active_internal_squads: list[UUID] | None = Field(
@@ -77,7 +77,7 @@ class UpdateUserRequestDto(BaseModel):
7777
description: str | None = None
7878
email: str | None = None
7979
expire_at: datetime | None = Field(None, serialization_alias="expireAt")
80-
hwidDeviceLimit: int | None = Field(
80+
hwid_device_limit: int | None = Field(
8181
None, serialization_alias="hwidDeviceLimit", strict=True, ge=0
8282
)
8383
status: UserStatus | None = None
@@ -116,7 +116,7 @@ class UserResponseDto(BaseModel):
116116
description: str | None = None
117117
telegram_id: int | None = Field(None, alias="telegramId")
118118
email: str | None = None
119-
hwidDeviceLimit: int | None = Field(
119+
hwid_device_limit: int | None = Field(
120120
None, serialization_alias="hwidDeviceLimit", strict=True, ge=0
121121
)
122122
active_internal_squads: list[ActiveInternalSquadDto] | None = Field(

0 commit comments

Comments
 (0)