Feature/refactor environment variable access in create user of user service (#3797)

* Refactor environment variable access
This commit is contained in:
Thomas Kaul 2024-09-21 18:22:14 +02:00 committed by GitHub
parent e918970feb
commit 6f227e677c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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({