Feature/refactor environment variable access in create user of user service (#3797)
* Refactor environment variable access
This commit is contained in:
parent
e918970feb
commit
6f227e677c
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user