Skip to content

Commit

Permalink
fix of getWLanSettings() settings which should have the optional wlan_id
Browse files Browse the repository at this point in the history
parameter at the end.
  • Loading branch information
jens-maus committed May 19, 2020
1 parent db5f00a commit af51fda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-unifi",
"version": "1.3.2",
"version": "1.3.3",
"description": "NodeJS class for querying UniFi-Controller (www.ubnt.com)",
"author": "Jens Maus <mail@jens-maus.de>",
"homepage": "https://github.com/jens-maus/node-unifi",
Expand Down
2 changes: 1 addition & 1 deletion unifi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2238,7 +2238,7 @@ const Controller = function (hostname, port) {
* required paramater <sites> = name or array of site names
* optional parameter <wlan_id> = 24 char string; _id value of the wlan to fetch the settings for
*/
_self.getWLanSettings = function (sites, wlan_id, cb) {
_self.getWLanSettings = function (sites, cb, wlan_id) {
if (typeof (wlan_id) === 'undefined') {
wlan_id = '';
}
Expand Down

0 comments on commit af51fda

Please sign in to comment.