Skip to content

Commit c999ada

Browse files
committed
prettier:fix
1 parent 075e14d commit c999ada

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

examples/video-resource-server/server.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,10 @@ ${Object.entries(VIDEO_LIBRARY)
137137
},
138138
async ({ videoId }): Promise<CallToolResult> => {
139139
const video = VIDEO_LIBRARY[videoId];
140-
const data = { videoUri: `videos://${videoId}`, description: video.description };
140+
const data = {
141+
videoUri: `videos://${videoId}`,
142+
description: video.description,
143+
};
141144
return {
142145
content: [{ type: "text", text: JSON.stringify(data) }],
143146
structuredContent: data,

examples/video-resource-server/src/mcp-app.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ const videoInfoEl = document.getElementById("video-info")!;
2828
function parseToolResult(
2929
result: CallToolResult,
3030
): { videoUri: string; description: string } | null {
31-
return result.structuredContent as { videoUri: string; description: string } | null;
31+
return result.structuredContent as {
32+
videoUri: string;
33+
description: string;
34+
} | null;
3235
}
3336

3437
// Show states

0 commit comments

Comments
 (0)