@tomei/sso 0.33.0 → 0.33.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/sso",
3
- "version": "0.33.0",
3
+ "version": "0.33.2",
4
4
  "description": "Tomei SSO Package",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -10,7 +10,7 @@ import { ActionEnum, Activity } from '@tomei/activity-history';
10
10
  import { GroupSystemAccessRepository } from '../group-system-access/group-system-access.repository';
11
11
  import SystemModel from '../../models/system.entity';
12
12
  import { GroupSystemAccess } from '../group-system-access';
13
- import { RedisService } from 'redis-client';
13
+ import { RedisService } from '../../redis-client/redis.service';
14
14
 
15
15
  export class Group extends ObjectBase {
16
16
  ObjectId: string;
@@ -57,7 +57,7 @@ export class RedisService {
57
57
  }
58
58
  }
59
59
 
60
- public async close(): Promise<void> {
60
+ public static async close(): Promise<void> {
61
61
  try {
62
62
  await RedisService.client.disconnect();
63
63
  } catch (error) {