@live-change/user-service 0.8.74 → 0.8.76

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -117,8 +117,8 @@ definition.action({
117
117
  access: (params, { client }) => {
118
118
  return client.roles && client.roles.includes('admin')
119
119
  },
120
- async execute({ user }, { client, service }, emit) {
121
- const userData = await User.get(user)
120
+ async execute({ to }, { client, service }, emit) {
121
+ const userData = await User.get(to)
122
122
  if(!userData) throw 'userNotFound'
123
123
  await service.trigger({ type: 'signedOut' }, {
124
124
  session: client.session,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/user-service",
3
- "version": "0.8.74",
3
+ "version": "0.8.76",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "type": "module",
24
24
  "dependencies": {
25
- "@live-change/framework": "^0.8.74",
26
- "@live-change/relations-plugin": "^0.8.74",
25
+ "@live-change/framework": "^0.8.76",
26
+ "@live-change/relations-plugin": "^0.8.76",
27
27
  "pluralize": "^8.0.0"
28
28
  },
29
- "gitHead": "d8c3d9737790e0e320216cfcdfc07012ad139911"
29
+ "gitHead": "70c9a5ffb257f57b77754027d9c543584ca3423b"
30
30
  }