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…
Reference in New Issue