Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Commit 6e02b6a

Browse files
committed
fix(client-xsai): remove destructuring
1 parent 0c85be3 commit 6e02b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client-xsai/src/utils/get-xsai-tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { toXSAIContent } from './to-xsai-content'
88
export const getXSAITools = async (client: Client): Promise<Tool[]> =>
99
client
1010
.listTools()
11-
.then(({ tools }) => tools.map(tool => rawTool({
11+
.then(tools => tools.map(tool => rawTool({
1212
description: tool.description,
1313
execute: async params => client.callTool(tool.name, params as Record<string, unknown>)
1414
// eslint-disable-next-line sonarjs/no-nested-functions

0 commit comments

Comments
 (0)