delian / node-unifiapi

UniFi API ported to Node.JS
GNU General Public License v3.0
49 stars 19 forks source link

Maybe typo in unauthorise_guest method #23

Open Farshik opened 4 years ago

Farshik commented 4 years ago
UnifiAPI.prototype.unauthorize_guest = function(mac = '', site = undefined) {
return this.netsite('/cmd/stamgr', {
        cmd: 'uauthorize-guest',//in this line
        mac: mac.toLowerCase()
    }, {}, undefined, site);
};
delian commented 4 years ago

You are right. I will fix it fast

On Fri, 11 Oct 2019 at 16:14, Farshik notifications@github.com wrote:

UnifiAPI.prototype.unauthorize_guest = function(mac = '', site = undefined) { return this.netsite('/cmd/stamgr', { cmd: 'uauthorize-guest',//in this line mac: mac.toLowerCase() }, {}, undefined, site); };

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/delian/node-unifiapi/issues/23?email_source=notifications&email_token=AAA3WZVWUQ3BAV767ZEDH2DQOCC5VA5CNFSM4I72L2W2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRHDIEQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA3WZR4FTFLVMQJCJJ3FFDQOCC5VANCNFSM4I72L2WQ .

--

Delian