@manyos/smileconnect-api 1.55.5 → 1.57.0

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.
package/app.js CHANGED
@@ -264,7 +264,8 @@ app.use(function (req, res, next) {
264
264
  //set globalscript params
265
265
  app.use(function (req, res, next) {
266
266
  req.globalScriptParams = {
267
- query: req.query
267
+ query: req.query,
268
+ user: req.user
268
269
  }
269
270
  // Für Scripte einen globalen parameter bereitstellen, der den org. Body enthält. Damit hat man auch noch in Post Scripten Zugriff auf customAttributes die beim Mapping entfernt werden.
270
271
  if (req.body) {