mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
fix(InviteUsers): fix invite users bugs.
This commit is contained in:
@@ -113,7 +113,7 @@ export default class UsersService {
|
||||
// Throw serivce error if the user is already activated.
|
||||
this.throwErrorIfUserActive(user);
|
||||
|
||||
await systemUserRepository.activateUser(userId);
|
||||
await systemUserRepository.activateById(userId);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user