@formio/appserver 2.12.0-rc.2 → 2.12.0-rc.4

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.
@@ -156,7 +156,7 @@ exports.RoleAction = {
156
156
  }
157
157
  debug('Updating user with roles', resource.roles);
158
158
  // Update the user.
159
- yield form.saveSubmission(resource, ['roles']);
159
+ yield form.saveSubmission(resource, ['roles'], req.auth);
160
160
  next();
161
161
  });
162
162
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/appserver",
3
- "version": "2.12.0-rc.2",
3
+ "version": "2.12.0-rc.4",
4
4
  "description": "A highly performant and extensible Application Server for Form.io Multi-Tenant Deployments.",
5
5
  "main": "lib/server.js",
6
6
  "types": "lib/server.d.ts",
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "homepage": "https://github.com/formio/appserver#readme",
35
35
  "dependencies": {
36
- "@formio/appserver-core": "^2.12.0-rc.2",
36
+ "@formio/appserver-core": "^2.12.0-rc.3",
37
37
  "@formio/core": "2.5.1-dev.291.6557e4e",
38
38
  "async": "^3.2.6",
39
39
  "bcryptjs": "^3.0.3",