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 23, 2024
1 parent acf4cda commit 3f8f62d
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 @@ -118,7 +118,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 @@ -35,6 +35,7 @@ import {
createExpire,
createExpireAt,
createGeoAdd,
createGeoDist,
createGeoPos,
createGet,
createGetBit,
Expand Down Expand Up @@ -127,7 +128,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 @@ -1893,7 +1893,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 @@ -43,6 +43,7 @@ import {
createFunctionFlush,
createFunctionLoad,
createGeoAdd,
createGeoDist,
createGeoPos,
createGet,
createGetBit,
Expand Down Expand Up @@ -140,7 +141,6 @@ import {
createZRevRank,
createZRevRankWithScore,
createZScore,
createGeoDist,
GeoUnit,
} from "./Commands";
import { command_request } from "./ProtobufMessage";
Expand Down

0 comments on commit 3f8f62d

Please sign in to comment.