eh-commons 0.0.2-testing.80 → 0.0.2-testing.82
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/dist/modules/session/models/interfaces/index.d.ts +1 -1
- package/dist/modules/session/services/session-v2.service.d.ts +1 -1
- package/dist/modules/session/services/session-v2.service.js +2 -2
- package/dist/modules/session/services/session-v2.service.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/modules/session/models/interfaces/index.ts +1 -1
- package/src/modules/session/services/session-v2.service.ts +2 -2
package/package.json
CHANGED
|
@@ -139,11 +139,11 @@ export class SessionV2Service {
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
public async readUserClients(userId: string
|
|
142
|
+
public async readUserClients(userId: string): Promise<ISessionClientData[]> {
|
|
143
143
|
const key = generateUserClientsKeyword(userId);
|
|
144
144
|
const response = await this._redisService.get(key);
|
|
145
145
|
if (!response) {
|
|
146
|
-
throw new RESTError('user_clients_not_found',
|
|
146
|
+
throw new RESTError('user_clients_not_found', userId, 400);
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
const result: any = JSON.parse(response);
|