| author | |
| committer | |
| log | 4daec109cdf8e3e92b392017d7564e735e54f6fd |
| tree | 5477f1d2334c170b837a5198d031bd7736357ba6 |
| parent | a6ec88f7a716fc421bd22c2484881c44110f9375 |
| signature | Signed by PGP key B5690EEEBB952194 |
1 files changed, 1 insertions(+), 1 deletions(-)
apps/server/src/persistence/AuthPairingLinks.ts+1-1| ... | ... | @@ -172,7 +172,7 @@ export const make = Effect.gen(function* () { |
| 172 | 172 | proof_key_thumbprint IS NULL |
| 173 | 173 | OR proof_key_thumbprint = ${proofKeyThumbprint} |
| 174 | 174 | ) |
| 175 | AND (${requestedScopes === undefined} OR EXISTS ( | |
| 175 | AND (${requestedScopes === undefined ? 1 : 0} OR EXISTS ( | |
| 176 | 176 | SELECT 1 |
| 177 | 177 | FROM json_each(${JSON.stringify(requestedScopes ?? [])}) AS requested |
| 178 | 178 | WHERE requested.value IN ( |