diff --git a/js/src/forum/index.js b/js/src/forum/index.js index 2f9e9e9..1df66f4 100644 --- a/js/src/forum/index.js +++ b/js/src/forum/index.js @@ -1,6 +1,6 @@ import app from 'flarum/forum/app'; -import extendNotificationGridWithTeams from './extendNotificationGridWithTeams('sbp-jm/flarum-msteams-webhook', () => {import extendNotificationGridWithTeams from './extendNotificationGridWithTeams'; +import extendNotificationGridWithTeams from './extendNotificationGridWithTeams'; + +app.initializers.add('sbp-jm/flarum-msteams-webhook', () => { extendNotificationGridWithTeams(); -}); - - +}); \ No newline at end of file