goldstars-services 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,7 +39,8 @@ var createBike = params => {
39
39
  */
40
40
  var updateBike = (queryParams, paramsToUpdate) => {
41
41
  var mongooseOptions = {
42
- useFindAndModify: false
42
+ useFindAndModify: false,
43
+ runValidators: true
43
44
  };
44
45
  return _bike.default.findOneAndUpdate(queryParams, paramsToUpdate, mongooseOptions);
45
46
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goldstars-services",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "This is the services layer for GoldStars",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {