Browse Source
Feature/refactor environment variable access in create user of user service (#3797)
* Refactor environment variable access
pull/3800/head
Thomas Kaul
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
apps/api/src/app/user/user.service.ts
|
@ -371,7 +371,7 @@ export class UserService { |
|
|
|
|
|
|
|
|
const hashedAccessToken = this.createAccessToken( |
|
|
const hashedAccessToken = this.createAccessToken( |
|
|
accessToken, |
|
|
accessToken, |
|
|
process.env.ACCESS_TOKEN_SALT |
|
|
this.configurationService.get('ACCESS_TOKEN_SALT') |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
user = await this.prismaService.user.update({ |
|
|
user = await this.prismaService.user.update({ |
|
|