Skip to content

Commit d41aed8

Browse files
committed
small refactor
1 parent 25802e2 commit d41aed8

File tree

1 file changed

+1
-2
lines changed
  • packages/toolbox-core/src/toolbox_core

1 file changed

+1
-2
lines changed

packages/toolbox-core/src/toolbox_core/tool.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,12 +285,11 @@ async def __call__(self, *args: Any, **kwargs: Any) -> str:
285285
token_getter
286286
)
287287

288-
body = await self.__transport.tool_invoke(
288+
return await self.__transport.tool_invoke(
289289
self.__name__,
290290
payload,
291291
headers,
292292
)
293-
return body
294293

295294
def add_auth_token_getters(
296295
self,

0 commit comments

Comments
 (0)