This commit is contained in:
MTG2000
2022-08-08 21:10:17 +03:00
parent 62d35f41ed
commit 8d0fe7eaf7
2 changed files with 2 additions and 1 deletions

View File

@@ -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")