Commit 4ce578a
committed
fix: BYOK config lookup used nonexistent tenant_id column in OR filter
The companies table has no tenant_id column. The or=(id.eq.X,tenant_id.eq.X)
PostgREST filter was returning 400 or empty results, causing BYOK to
always fall back to the default Cloudflare model.
Simplified to: id=eq. which is the correct PK lookup.1 parent e863daf commit 4ce578a
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
| 534 | + | |
| 535 | + | |
535 | 536 | | |
536 | 537 | | |
537 | 538 | | |
| |||
0 commit comments