Commit 3dfaf35
committed
fix(sdk-core): configure Agent to use correct service URL for SDS queries
The Agent was using the default PDS service URL from the OAuth session
even when querying SDS repositories, causing 'Could not find repo' errors.
This configures the Agent's XRPC URI to use the specified server URL
(PDS or SDS) so queries are routed to the correct service endpoint.
- Set agent.api.xrpc.uri to the serverUrl in Repository constructor
- Ensures SDS repository queries reach the SDS server
- Resolves 400 errors when listing hypercerts/collections from organizations
- All 317 tests passing
Fixes 'Could not find repo' errors when querying shared repositories.1 parent bcde5fa commit 3dfaf35
File tree
3 files changed
+12
-0
lines changed- .changeset
- packages/sdk-core/src/repository
3 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
184 | 189 | | |
185 | 190 | | |
186 | 191 | | |
| |||
0 commit comments