diff --git a/source/reference/operator/centerSphere.txt b/source/reference/operator/centerSphere.txt index 10fda510217..40354013a30 100644 --- a/source/reference/operator/centerSphere.txt +++ b/source/reference/operator/centerSphere.txt @@ -28,6 +28,6 @@ $centerSphere .. code-block:: javascript - db.collection.find( { loc: { $within: { $centerSphere: { [88,30], 10 /* miles */ / 3959 /* miles */ } } } } ) + db.collection.find( { loc: { $within: { $centerSphere: [ [88,30], 10 /* miles */ / 3959 /* miles */ ] } } } ) .. include:: /includes/note-geospatial-index-must-exist.rst