@chevre/domain 21.2.0-alpha.73 → 21.2.0-alpha.75

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.
@@ -183,9 +183,9 @@ function addReservations(params) {
183
183
  if (transaction.object.disablePendingReservations !== true) {
184
184
  // 予約作成(insertManyで実装)
185
185
  yield repos.reservation.createMany({ reservationFor, reservations: objectSubReservations });
186
- // 予約作成後処理
187
- yield onReservationsCreated({ event })(repos);
188
186
  }
187
+ // ストックホルダー処理(stockHolderで残席数を集計しているので必要)
188
+ yield onReservationsCreated({ event })(repos);
189
189
  return { transaction, objectSubReservations };
190
190
  });
191
191
  }
package/package.json CHANGED
@@ -117,5 +117,5 @@
117
117
  "postversion": "git push origin --tags",
118
118
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
119
119
  },
120
- "version": "21.2.0-alpha.73"
120
+ "version": "21.2.0-alpha.75"
121
121
  }