mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor(core): Rename EventRelay to EventService (no-changelog) (#10110)
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
updateLdapUserOnLocalDb,
|
||||
} from '@/Ldap/helpers.ee';
|
||||
import type { User } from '@db/entities/User';
|
||||
import { EventRelay } from '@/eventbus/event-relay.service';
|
||||
import { EventService } from '@/eventbus/event.service';
|
||||
|
||||
export const handleLdapLogin = async (
|
||||
loginId: string,
|
||||
@@ -55,7 +55,7 @@ export const handleLdapLogin = async (
|
||||
user_type: 'ldap',
|
||||
was_disabled_ldap_user: false,
|
||||
});
|
||||
Container.get(EventRelay).emit('user-signed-up', { user });
|
||||
Container.get(EventService).emit('user-signed-up', { user });
|
||||
return user;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user