From 07d07eed92421ff5c4f45e28bef51c86f1f7d292 Mon Sep 17 00:00:00 2001 From: peeech Date: Thu, 29 Feb 2024 05:27:49 +0100 Subject: [PATCH] bug fix --- 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 e2ce964..2235acf 100644 --- a/server/src/routes/zt_registration.js +++ b/server/src/routes/zt_registration.js @@ -121,7 +121,7 @@ const handle = async req => { const { data } = payload const { email, holochain_agent_id, zerotier_address, holoport_url } = data - if (isVerifiedUser(email)) return addZeroTierMember(zerotier_address, holochain_agent_id, email) + if (await isVerifiedUser(email)) return addZeroTierMember(zerotier_address, holochain_agent_id, email) return respond(401) } catch (e) {