Skip to content

Commit ee50fc8

Browse files
committed
chore: == not === but == update with ===
1 parent 3fb84c5 commit ee50fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/javascript/clients/api-single.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function create{{#lambda.titlecase}}{{apiName}}{{/lambda.titlecase}}({
8181
* @param params.apiKey - The new API Key to use.
8282
*/
8383
setClientApiKey({ apiKey }: { apiKey: string }): void {
84-
if (!authMode || authMode == 'WithinHeaders') {
84+
if (!authMode || authMode === 'WithinHeaders') {
8585
this.transporter.baseHeaders['x-algolia-api-key'] = apiKey;
8686
} else {
8787
this.transporter.baseQueryParameters['x-algolia-api-key'] = apiKey;

0 commit comments

Comments
 (0)