Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Jan 26, 2024
1 parent 23b49e2 commit 2e4d65c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,16 +328,16 @@ export function registerEsqlFunction({
}

const esqlQuery = cachedContent.match(/```esql([\s\S]*?)```/)?.[1];

if (esqlQuery && args.execute) {
subscriber.next({
id,
message: {
function_call: {
name: 'visualize_query',
arguments: JSON.stringify({
query: esqlQuery,
chartType: args.chartType,
query: esqlQuery,
chartType: args.chartType,
}),
},
},
Expand Down

0 comments on commit 2e4d65c

Please sign in to comment.