Skip to content

Commit

Permalink
addressing comments
Browse files Browse the repository at this point in the history
Signed-off-by: TJ Zhang <[email protected]>
  • Loading branch information
TJ Zhang committed Jul 22, 2024
1 parent e1d7b95 commit ed49e81
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
* Node: Added DBSize command ([#1932](https://github.com/valkey-io/valkey-glide/pull/1932))
* Node: Added GeoAdd command ([#1980](https://github.com/valkey-io/valkey-glide/pull/1980))
* Node: Added ZRevRank command ([#1977](https://github.com/valkey-io/valkey-glide/pull/1977))
* Node: Added GeoUnit command ([#1988](https://github.com/valkey-io/valkey-glide/pull/1988))
* Node: Added GeoDist command ([#1988](https://github.com/valkey-io/valkey-glide/pull/1988))

#### Breaking Changes
* Node: Update XREAD to return a Map of Map ([#1494](https://github.com/valkey-io/valkey-glide/pull/1494))
Expand Down
2 changes: 1 addition & 1 deletion node/src/BaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
createExpire,
createExpireAt,
createGeoAdd,
createGeoDist,
createGet,
createGetBit,
createGetDel,
Expand Down Expand Up @@ -124,7 +125,6 @@ import {
createZRevRank,
createZRevRankWithScore,
createZScore,
createGeoDist,
GeoUnit,
} from "./Commands";
import { BitOffsetOptions } from "./commands/BitOffsetOptions";
Expand Down
2 changes: 1 addition & 1 deletion node/src/Commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1876,7 +1876,7 @@ export function createGeoDist(
member2: string,
geoUnit?: GeoUnit,
): command_request.Command {
let args: string[] = [key, member1, member2];
const args: string[] = [key, member1, member2];

if (geoUnit) {
args.push(geoUnit);
Expand Down
2 changes: 1 addition & 1 deletion node/src/Transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import {
createFunctionFlush,
createFunctionLoad,
createGeoAdd,
createGeoDist,
createGet,
createGetBit,
createGetDel,
Expand Down Expand Up @@ -137,7 +138,6 @@ import {
createZRevRank,
createZRevRankWithScore,
createZScore,
createGeoDist,
GeoUnit,
} from "./Commands";
import { command_request } from "./ProtobufMessage";
Expand Down

0 comments on commit ed49e81

Please sign in to comment.