Fix typo on auth

This commit is contained in:
Moe Poi ~ 2021-11-21 07:40:43 +07:00
parent 68f3a8dc95
commit 267f1d051a

View file

@ -49,7 +49,7 @@ function auth_checker(key) {
if (error) {
rej(error);
} else {
if (!response[0]) {
if (response[0]) {
res(true);
} else {
res(false);