Skip to content

Commit

Permalink
Update node/src/BaseClient.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Carbonetto <[email protected]>
  • Loading branch information
shohamazon and acarbonetto authored Apr 7, 2024
1 parent 62158a9 commit 2716bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/BaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
* ```
*/
Expand Down

0 comments on commit 2716bd8

Please sign in to comment.