fix: make listServerResources() params optional (#528)
Follow-up to #470. Matches MCP SDK Client.listResources(params?) signature so callers can omit the empty {} for the common case. Also reflows a line in app-bridge.test.ts that prettier flagged.
This commit is contained in:
parent
4f9a7ebc74
commit
ef8fc6e2f0
1 changed files with 11 additions and 7 deletions
|
|
@ -123,7 +123,7 @@ async function discoverVideos() {
|
|||
}
|
||||
|
||||
try {
|
||||
const resourceList = await app.listServerResources({});
|
||||
const resourceList = await app.listServerResources();
|
||||
|
||||
const videoResources = resourceList.resources.filter((r) =>
|
||||
r.uri.startsWith("videos://"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue