You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wanted to update to the latest major version and saw that when using the method geoSearchWith the distance field it returns changed from a number to a string type. Only now wonder what kind of string format I now have to deal with and how to parse it back to a number format.
For clarification this is the way I call this method: const locations = await this.client.geoSearchWith( redisKey, { latitude: userPosition.latitude, longitude: userPosition.longitude, }, { radius: radius, unit: 'm', }, [GEO_REPLY_WITH.DISTANCE, GEO_REPLY_WITH.COORDINATES], { SORT: 'ASC' }, );