ti2 1.0.96 → 1.0.97

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.
@@ -457,6 +457,15 @@ const createBooking = plugins => async (req, res, next) => {
457
457
  typeDefsAndQueries,
458
458
  requestId: req.requestId,
459
459
  });
460
+
461
+ app.events.emit('bookingsCreateBooking', {
462
+ userId,
463
+ hint,
464
+ operationId: 'createBooking',
465
+ requestId: req.requestId,
466
+ pluginName: app.name,
467
+ payload: results,
468
+ });
460
469
  return res.json(results);
461
470
  } catch (err) {
462
471
  return next(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ti2",
3
- "version": "1.0.96",
3
+ "version": "1.0.97",
4
4
  "description": "Tourist Industry Exchange (TI2)",
5
5
  "main": "index.js",
6
6
  "scripts": {