Skip to content

Commit 8b3ca13

Browse files
committed
fix: js default region comment
1 parent 707df25 commit 8b3ca13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/javascript/snippets/method.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type { RequestOptions } from '@algolia/client-common';
1414
export {{#isAsyncMethod}}async{{/isAsyncMethod}} function snippetFor{{#lambda.pascalcase}}{{method}}{{/lambda.pascalcase}}{{testIndex}}(): {{#isAsyncMethod}}Promise<void>{{/isAsyncMethod}}{{^isAsyncMethod}}void{{/isAsyncMethod}} {
1515
// >SEPARATOR {{method}} {{testName}}
1616
// Initialize the client
17-
// {{#hasRegionalHost}}Replace 'us' with your Algolia Apllication Region{{/hasRegionalHost}}
17+
// {{#hasRegionalHost}}Replace '{{defaultRegion}}' with your Algolia Application Region{{/hasRegionalHost}}
1818
{{> snippets/init}}
1919

2020
// Call the API

0 commit comments

Comments
 (0)