From 267f1d051aabd0fe5f1688f91faa7fa769496032 Mon Sep 17 00:00:00 2001 From: moepoi Date: Sun, 21 Nov 2021 07:40:43 +0700 Subject: [PATCH] Fix typo on auth --- auth/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/auth.js b/auth/auth.js index df6273b..b061761 100644 --- a/auth/auth.js +++ b/auth/auth.js @@ -49,7 +49,7 @@ function auth_checker(key) { if (error) { rej(error); } else { - if (!response[0]) { + if (response[0]) { res(true); } else { res(false);