Closed ChiKaLiO closed 3 years ago
ZK.setUser(132, '', '8580', '132', (e) =>{
ZK.disconnect();
if (e) {
console.log(e);
}
else {
console.log('Sucessfull!');
}
})
I'm trying to set users on ZKteco device using this library, but it gives an error. Will you help me out from this troubleshoot? Is there anything wrong in my code?
I was just running the test script 😢