mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
fix: method hasType in service errors.
This commit is contained in:
@@ -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>}
|
||||
|
||||
@@ -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.')
|
||||
|
||||
Reference in New Issue
Block a user