Skip to content

Commit

Permalink
fixed a tyoi
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ketchel committed Nov 6, 2024
1 parent cc45c05 commit 7958b67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
wlanpi-core (1.0.5-1.2) UNRELEASED; urgency=medium
wlanpi-core (1.0.5-2) UNRELEASED; urgency=medium

[ Michael Ketchel ]
* Draft build of new wlan control features
* Fixed an api definition typo

-- Michael Ketchel <[email protected]> Wed, 06 Nov 2024 22:33:31 +0000
-- Michael Ketchel <[email protected]> Wed, 06 Nov 2024 22:48:34 +0000

wlanpi-core (1.0.5-1) unstable; urgency=high

Expand Down
6 changes: 4 additions & 2 deletions wlanpi_core/api/api_v1/endpoints/network_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,12 +412,14 @@ async def disconnect_wireless_network(interface: str, network_id: int):

@router.get(
"/wlan/{interface}/phy",
response_model=Optional[dict[str, dict[str, any]]],
response_model=None,
response_model_exclude_none=True,
)
@router.get(
"/wlan/phys",
response_model=Optional[dict[str, dict[str, any]]],
# Want to make a nicer response model for this, but the data returned is very not conducive.
# response_model=Optional[dict[str, dict[str, any]]],
response_model=None,
response_model_exclude_none=True,
)
async def get_interface_details(interface: Optional[str] = None):
Expand Down

0 comments on commit 7958b67

Please sign in to comment.