Skip to content

Commit 1ea679c

Browse files
authored
fix (#70)
1 parent d41cda9 commit 1ea679c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/tools/MapboxApiBasedTool.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,7 @@ export abstract class MapboxApiBasedTool<
109109
const result = await context.with(
110110
trace.setSpan(context.active(), toolContext.span),
111111
async () => {
112-
return await this.execute(
113-
input,
114-
MapboxApiBasedTool.mapboxAccessToken!,
115-
toolContext!
116-
);
112+
return await this.execute(input, accessToken, toolContext!);
117113
}
118114
);
119115

0 commit comments

Comments
 (0)