Skip to content

Commit f338cd1

Browse files
authored
docs: remove slashes from javascript snippets (#5280)
1 parent f77e488 commit f338cd1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/javascript/snippets/method.mustache

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ import type { RequestOptions } from '@algolia/client-common';
1313
export {{#isAsyncMethod}}async{{/isAsyncMethod}} function snippetFor{{#lambda.pascalcase}}{{method}}{{/lambda.pascalcase}}{{testIndex}}(): {{#isAsyncMethod}}Promise<void>{{/isAsyncMethod}}{{^isAsyncMethod}}void{{/isAsyncMethod}} {
1414
// >SEPARATOR {{method}} {{{testName}}}
1515
// Initialize the client
16-
// {{#hasRegionalHost}}Replace '{{defaultRegion}}' with your Algolia Application Region{{/hasRegionalHost}}
16+
{{#hasRegionalHost}}
17+
// Replace '{{defaultRegion}}' with your Algolia Application Region
18+
{{/hasRegionalHost}}
1719
{{> snippets/init}}
1820

1921
// Call the API

0 commit comments

Comments
 (0)