From 2716bd8a2e7bc606cff92c71d627dfb9834a3e6f Mon Sep 17 00:00:00 2001 From: Shoham Elias <116083498+shohamazon@users.noreply.github.com> Date: Sun, 7 Apr 2024 15:13:16 +0300 Subject: [PATCH] Update node/src/BaseClient.ts Co-authored-by: Andrew Carbonetto --- node/src/BaseClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/BaseClient.ts b/node/src/BaseClient.ts index a7ba0399f8..f91a073e33 100644 --- a/node/src/BaseClient.ts +++ b/node/src/BaseClient.ts @@ -1505,7 +1505,7 @@ export class BaseClient { * @example * ```typescript * // Example usage of the zaddIncr method to add or update a member with a score in an existing sorted set - * const result = await client.zaddIncr("existing_sorted_set", member, "3.0", \{ UpdateOptions: "ScoreLessThanCurrent" \}); + * const result = await client.zaddIncr("existing_sorted_set", member, "3.0", { UpdateOptions: "ScoreLessThanCurrent" }); * console.log(result); // Output: null - Indicates that the member in the sorted set haven't been updated. * ``` */