fix: method hasType in service errors.

This commit is contained in:
Ahmed Bouhuolia
2020-09-26 16:46:05 +02:00
parent 933afb37bf
commit 9f315ca657
5 changed files with 15 additions and 5 deletions

View File

@@ -42,7 +42,6 @@ export default class AuthenticationMailMesssages {
/**
* Sends reset password message.
*
* @param {ISystemUser} user - The system user.
* @param {string} token - Reset password token.
* @return {Promise<void>}

View File

@@ -126,7 +126,7 @@ export default class AuthenticationService {
this.logger.info('[register] Someone trying to register.');
await this.validateEmailAndPhoneUniqiness(registerDTO);
this.logger.info('[register] Creating a new tenant organization.')
this.logger.info('[register] Creating a new tenant organization.');
const tenant = await this.newTenantOrganization();
this.logger.info('[register] Trying hashing the password.')