tedis icon indicating copy to clipboard operation
tedis copied to clipboard

GEOPOS Command returns inappropriate information

Open smrutikant opened this issue 4 years ago • 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"

smrutikant avatar Jan 11 '22 09:01 smrutikant