From 6f227e677caba3378f40653df236445f852a9c4e Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 21 Sep 2024 18:22:14 +0200 Subject: [PATCH] Feature/refactor environment variable access in create user of user service (#3797) * Refactor environment variable access --- apps/api/src/app/user/user.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/user/user.service.ts b/apps/api/src/app/user/user.service.ts index f8746881f..edb27aead 100644 --- a/apps/api/src/app/user/user.service.ts +++ b/apps/api/src/app/user/user.service.ts @@ -371,7 +371,7 @@ export class UserService { const hashedAccessToken = this.createAccessToken( accessToken, - process.env.ACCESS_TOKEN_SALT + this.configurationService.get('ACCESS_TOKEN_SALT') ); user = await this.prismaService.user.update({