node-unifiapi
node-unifiapi copied to clipboard
Maybe typo in unauthorise_guest method
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 right. I will fix it fast
On Fri, 11 Oct 2019 at 16:14, Farshik [email protected] 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