Skip to content

Commit

Permalink
tmp debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
zo-el committed Aug 1, 2024
1 parent b238dca commit b4fc263
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 @@ -17,7 +17,7 @@ const addZeroTierMember = async (address, name, description) => {
try {
// todo: only for debugging remove asao
console.log(`Adding member ${name} with address ${address} to network-id: ${networkId}`)
let response = fetch(`https://my.zerotier.com/api/network/${networkId}/member/${address}`, {
let response = await fetch(`https://my.zerotier.com/api/network/${networkId}/member/${address}`, {
method: 'POST',
headers: { authorization: `Bearer ${apiToken}` },
body: JSON.stringify({
Expand Down

0 comments on commit b4fc263

Please sign in to comment.