Commit 7e84398
fix: remove int cast from getTenant to fix strict type comparison
Document::getTenant() was casting numeric tenant strings to int,
but Adapter::getTenant() stored the raw string from setTenant().
The strict !== comparison in getCollection() then failed because
(int)1 !== "1", causing "Collection not found" for shared table
projects on SQL adapters.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent cd13c1d commit 7e84398
1 file changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
| 180 | + | |
187 | 181 | | |
188 | 182 | | |
189 | 183 | | |
| |||
0 commit comments