goldstars-services 1.0.33 → 1.0.35

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.
@@ -201,13 +201,13 @@ var unsubscribeTrainer = /*#__PURE__*/function () {
201
201
  var updatedClient = yield _user.default.findOneAndUpdate({
202
202
  _id: clienteId
203
203
  }, {
204
- doctor: null
204
+ trainer: null
205
205
  });
206
206
  var updatedTrainer = yield _user.default.findOneAndUpdate({
207
207
  _id: entrenadorId
208
208
  }, {
209
209
  $pull: {
210
- "isTrainer.clientes": entrenadorId
210
+ "isTrainer.users": clienteId
211
211
  }
212
212
  });
213
213
  if (!(updatedClient && updatedTrainer)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goldstars-services",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "description": "This is the services layer for GoldStars",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {