chore: fix bug

This commit is contained in:
mahyargdz
2025-03-12 15:05:56 +03:30
parent 787f3d0426
commit 146c38025a
4 changed files with 12 additions and 121 deletions
+1 -1
View File
@@ -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();