@tomei/sso 0.37.2 → 0.37.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/sso",
3
- "version": "0.37.2",
3
+ "version": "0.37.4",
4
4
  "description": "Tomei SSO Package",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -33,7 +33,7 @@ import * as speakeasy from 'speakeasy';
33
33
  import { LoginStatusEnum } from '../../enum/login-status.enum';
34
34
  import { RedisService } from '../../redis-client/redis.service';
35
35
  import { LoginUser } from './login-user';
36
- import { SessionService } from 'session';
36
+ import { SessionService } from '../../session/session.service';
37
37
 
38
38
  export class User extends UserBase {
39
39
  ObjectId: string;
@@ -226,6 +226,7 @@ export class UserGroup extends ObjectBase {
226
226
  // EntityValueBefore: <stringify of empty object>
227
227
  // EntityValueAfter: EntityValueAfter
228
228
  const activity = new Activity();
229
+ activity.ActivityId = activity.createId();
229
230
  activity.Action = ActionEnum.ADD;
230
231
  activity.Description = 'Assign user to group.';
231
232
  activity.EntityType = 'UserGroup';