mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-04 23:14:27 +01:00
add logs
This commit is contained in:
@@ -15,6 +15,7 @@ const isLoggedInHandler = async (req, res) => {
|
||||
algorithms: ['HS256'],
|
||||
});
|
||||
const hash = payload.hash;
|
||||
console.log(hash);
|
||||
const authToken = await lnurlAuthService.getAuthTokenByHash(hash);
|
||||
if (!authToken)
|
||||
throw new Error("Not logged in yet")
|
||||
|
||||
Reference in New Issue
Block a user