silkjs/tedis

GEOPOS Command returns inappropriate information

Opened this issue · 0 comments

I am using tedis in one of my application. On redis-cli the GEOPOS command returns correct data, whereas when we are using tedis client to run the command it returns incorrect data.

Tedis Client
const resp = await client.command("GEOPOS", "USRPOS", "4567VBN");
console.log(resp); // Returns ["$19"]

redis-cli
127.0.0.1:6379> GEOPOS USRPOS 4567VBN

    1. "77.5943407416343689"
    2. "12.97018211330378534"