Skip to content

Commit

Permalink
Merged models for clients.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Jun 18, 2024
1 parent 59664e4 commit 2652928
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py3xui/inbounds/inbounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ def to_json(self) -> dict[str, Any]:
result.update(
{
InboundFields.SETTINGS: self.settings.model_dump_json(by_alias=True),
InboundFields.STREAM_SETTINGS: self.stream_settings.model_dump_json(by_alias=True),
InboundFields.STREAM_SETTINGS: self.stream_settings.model_dump_json( # pylint: disable=no-member
by_alias=True
),
InboundFields.SNIFFING: self.sniffing.model_dump_json(by_alias=True),
}
)
Expand Down

0 comments on commit 2652928

Please sign in to comment.