From 83f38f7b77a3af1cae6f6465bb80d0a78ad9d099 Mon Sep 17 00:00:00 2001 From: peeech Date: Thu, 29 Feb 2024 05:16:31 +0100 Subject: [PATCH] fix 401 bug --- server/src/routes/zt_registration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/zt_registration.js b/server/src/routes/zt_registration.js index 058e8eb..e2ce964 100644 --- a/server/src/routes/zt_registration.js +++ b/server/src/routes/zt_registration.js @@ -123,7 +123,7 @@ const handle = async req => { if (isVerifiedUser(email)) return addZeroTierMember(zerotier_address, holochain_agent_id, email) - respond(401) + return respond(401) } catch (e) { console.log(e) return respond(401)