Skip to content

Commit 8eefe21

Browse files
committed
fix: geo bounding box fields renamed
1 parent f447342 commit 8eefe21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/elasticDSL/Query/Geo/GeoBoundingBox.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export function getGeoBoundingBoxITC<TContext>(
2121
opts.getOrCreateITC(subName, () => ({
2222
name: subName,
2323
fields: {
24-
top_left: getGeoPointFC(opts),
25-
bottom_right: getGeoPointFC(opts),
24+
lat: getGeoPointFC(opts),
25+
lon: getGeoPointFC(opts),
2626
},
2727
}))
2828
);

0 commit comments

Comments
 (0)