Art-of-WiFi / UniFi-API-client

A PHP API client class to interact with Ubiquiti's UniFi Controller API
MIT License
1.09k stars 217 forks source link

Allow additional parameters in create_wlan's payload #191

Closed sgrodzicki closed 6 months ago

sgrodzicki commented 1 year ago

This allows to pass additional parameters to create_wlan's payload (wlan_bands, wpa3_support, etc.) with function parameters taking precedence.

This is backward compatible as the new parameter comes last and has a default value (empty array).

malle-pietje commented 1 year ago

Thanks for the PR, like this approach and the flexibility it brings. Will test and merge asap.👍

sgrodzicki commented 1 year ago

Thanks for the PR, like this approach and the flexibility it brings.

I am glad you like it. 👍

Will test and merge asap.

While you're on it, could you also please take a look at #189? 😄

malle-pietje commented 6 months ago

Merged into this release, thanks: https://github.com/Art-of-WiFi/UniFi-API-client/releases/tag/v1.1.81