From c51ea87dd738c4fc0da7690c9db473ac628b7363 Mon Sep 17 00:00:00 2001 From: Paul Scott Date: Wed, 15 May 2024 13:30:58 -0400 Subject: [PATCH] Dont encode : --- functions/access_approval_prompt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/access_approval_prompt.ts b/functions/access_approval_prompt.ts index 8bdc405..42fb3ae 100644 --- a/functions/access_approval_prompt.ts +++ b/functions/access_approval_prompt.ts @@ -202,7 +202,7 @@ async function approve( const r = await tailscale(env, client)( `https://api.tailscale.com/api/v2/device/${ encodeURIComponent(device.nodeId) - }/attributes/${encodeURIComponent(profile.attribute)}`, + }/attributes/${profile.attribute}`, { method: "POST", body: JSON.stringify({