Skip to content

Commit

Permalink
safe is not a valid mongodb index parameter, more leftover cargo cu…
Browse files Browse the repository at this point in the history
…lt incompatible with 3.4
  • Loading branch information
Tom Boutell committed Apr 21, 2017
1 parent 12967b1 commit 013bc08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ module.exports = {
}

function ensureIndex(callback) {
return self.apos.docs.db.ensureIndex({ geo: '2dsphere' }, { safe: true }, callback);
return self.apos.docs.db.ensureIndex({ geo: '2dsphere' }, {}, callback);
}

};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apostrophe-places",
"version": "0.6.3",
"version": "0.6.4",
"description": "Geocoded location content type for the Apostrophe content management system. Has google maps.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 013bc08

Please sign in to comment.