mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 18:35:36 +08:00
DEV: message-bus:main
-> service:message-bus
(#17748)
The former has been deprecated
This commit is contained in:
parent
f204538f7c
commit
0d5bded434
@ -7,7 +7,7 @@ import { withPluginApi } from "discourse/lib/plugin-api";
|
||||
const PLUGIN_ID = "new-user-narrative";
|
||||
|
||||
function initialize(api) {
|
||||
const messageBus = api.container.lookup("message-bus:main");
|
||||
const messageBus = api.container.lookup("service:message-bus");
|
||||
const currentUser = api.getCurrentUser();
|
||||
const appEvents = api.container.lookup("service:app-events");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user