fix: auth

This commit is contained in:
mahyargdz
2025-06-01 10:35:35 +03:30
parent afa2f0036b
commit d6650bafd9
+2 -2
View File
@@ -71,10 +71,10 @@ export class AuthService {
const user = await this.usersService.createUser(completeRegistrationDto, hashedPassword, business, entityManager);
await this.otpService.delOtpFormCache(phone, "REGISTER");
const tokens = await this.tokensService.generateTokens(user, entityManager);
await this.otpService.delOtpFormCache(phone, "REGISTER");
await entityManager.commit();
return {