From f1f40aa5cb6dfc654acd38f46a4d2ee789211992 Mon Sep 17 00:00:00 2001
From: MTG2000
Date: Tue, 23 Aug 2022 15:18:49 +0300
Subject: [PATCH] remove logs
---
api/functions/login/login.js | 2 --
src/features/Auth/pages/LoginPage/LoginPage.tsx | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/api/functions/login/login.js b/api/functions/login/login.js
index e5b4b0c..782f195 100644
--- a/api/functions/login/login.js
+++ b/api/functions/login/login.js
@@ -55,7 +55,6 @@ const loginHandler = async (req, res) => {
.json({ status: "OK" })
} catch (error) {
- console.log(error);
return res.status(400).json({ status: 'ERROR', reason: 'Invalid User Token' })
}
}
@@ -127,7 +126,6 @@ const loginHandler = async (req, res) => {
return res.status(200).json({ status: "OK" })
} catch (error) {
- console.log(error);
return res.status(400).json({ status: 'ERROR', reason: 'Unexpected error happened, please try again' })
}
}
diff --git a/src/features/Auth/pages/LoginPage/LoginPage.tsx b/src/features/Auth/pages/LoginPage/LoginPage.tsx
index 3407622..475fb7e 100644
--- a/src/features/Auth/pages/LoginPage/LoginPage.tsx
+++ b/src/features/Auth/pages/LoginPage/LoginPage.tsx
@@ -175,7 +175,7 @@ export default function LoginPage() {
Scan this code or copy + paste it to your lightning wallet. Or click to login with your browser's wallet.