@devries-cameron20 / t3code-1 / commits / 4daec109cd
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(server): pairing tokens work on Node versions that cannot bind booleans (#16730)

chise committed Oct 9, 2026 at 01:04 UTC 4daec109cdf8e3e92b392017d7564e735e54f6fd
1 file changed +1 -1
apps/server/src/persistence/AuthPairingLinks.ts
+1 -1
@@ -172,7 +172,7 @@ export const make = Effect.gen(function* () {
172 proof_key_thumbprint IS NULL
173 OR proof_key_thumbprint = ${proofKeyThumbprint}
174 )
175 - AND (${requestedScopes === undefined} OR EXISTS (
175 + AND (${requestedScopes === undefined ? 1 : 0} OR EXISTS (
176 SELECT 1
177 FROM json_each(${JSON.stringify(requestedScopes ?? [])}) AS requested
178 WHERE requested.value IN (