Skip to content

Commit 5946678

Browse files
authored
Merge pull request #141 from browserbase/shreypandya/fix-screenshot-tool
fix: await MCP notification in screenshot tool
2 parents 40aeaf5 + b53849e commit 5946678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/screenshot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ async function handleScreenshot(
103103
const serverInstance = context.getServer();
104104

105105
if (serverInstance) {
106-
serverInstance.notification({
106+
await serverInstance.notification({
107107
method: "notifications/resources/list_changed",
108108
});
109109
}

0 commit comments

Comments
 (0)