chore: fix bug
This commit is contained in:
@@ -68,7 +68,7 @@ export class AuthService {
|
||||
const hashedPassword = await this.passwordService.hashPassword(completeRegistrationDto.password);
|
||||
const user = await this.usersService.createUser(completeRegistrationDto, hashedPassword, queryRunner);
|
||||
|
||||
const tokens = await this.tokensService.generateTokens(user);
|
||||
const tokens = await this.tokensService.generateTokens(user, queryRunner);
|
||||
|
||||
await queryRunner.commitTransaction();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user