diff --git a/src/daos/impl/redis/site_geo_dao_redis_impl.js b/src/daos/impl/redis/site_geo_dao_redis_impl.js index f703e00..bd1c105 100644 --- a/src/daos/impl/redis/site_geo_dao_redis_impl.js +++ b/src/daos/impl/redis/site_geo_dao_redis_impl.js @@ -190,7 +190,7 @@ const findByGeoWithExcessCapacity = async (lat, lng, radius, radiusUnit) => { // Get sites within the radius and store them in a temporary sorted set. const sitesInRadiusSortedSetKey = keyGenerator.getTemporaryKey(); - setOperationsPipeline.georadiusAsync( + setOperationsPipeline.georadius( keyGenerator.getSiteGeoKey(), lng, lat,