Skip to content

Commit

Permalink
fix: HTTP Request tool - allow hyphens in placeholders (#10037)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-radency authored Jul 13, 2024
1 parent f3833a7 commit 8cd9370
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export const configureResponseOptimizer = (ctx: IExecuteFunctions, itemIndex: nu
};

const extractPlaceholders = (text: string): string[] => {
const placeholder = /(\{[a-zA-Z0-9_]+\})/g;
const placeholder = /(\{[a-zA-Z0-9_-]+\})/g;
const returnData: string[] = [];

const matches = text.matchAll(placeholder);
Expand Down

0 comments on commit 8cd9370

Please sign in to comment.