We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084a268 commit d0a6267Copy full SHA for d0a6267
apps/user/src/user.service.ts
@@ -531,7 +531,8 @@ export class UserService {
531
532
async getSession(sessionId: string): Promise<ISessionDetails> {
533
try {
534
- const decodedSessionId = decodeURIComponent(sessionId);
+ const onceDecoded = decodeURIComponent(sessionId);
535
+ const decodedSessionId = decodeURIComponent(onceDecoded);
536
const decryptedSessionId = await this.commonService.decryptPassword(decodedSessionId);
537
const sessionDetails = await this.userRepository.getSession(decryptedSessionId);
538
return sessionDetails;
0 commit comments