fix: auth
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user