diff --git a/generators/typescript-v2/dynamic-snippets/src/EndpointSnippetGenerator.ts b/generators/typescript-v2/dynamic-snippets/src/EndpointSnippetGenerator.ts index b49cd5bb173..2b6a7bfcf0b 100644 --- a/generators/typescript-v2/dynamic-snippets/src/EndpointSnippetGenerator.ts +++ b/generators/typescript-v2/dynamic-snippets/src/EndpointSnippetGenerator.ts @@ -113,7 +113,7 @@ export class EndpointSnippetGenerator { return ts.codeBlock((writer) => { writer.writeNode( ts.invokeFunction({ - func: ts.reference({ name: "WithBaseURL", importPath: SNIPPET_IMPORT_PATH }), + func: ts.reference({ name: "withBaseURL", importPath: SNIPPET_IMPORT_PATH }), arguments_: [ts.stringLiteral(baseUrl)] }) );