Skip to content

Commit

Permalink
Merge pull request #78 from Holo-Host/another-fix
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
peeech authored Feb 29, 2024
2 parents 1a4b3bd + 07d07ee commit 0ebcace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/routes/zt_registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0ebcace

Please sign in to comment.