mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: LogsNotice
does not have currentUser
attribute.
This commit is contained in:
parent
712b7af6d5
commit
db781d3349
1 changed files with 2 additions and 1 deletions
|
@ -9,9 +9,10 @@ export default {
|
|||
const siteSettings = container.lookup('site-settings:main');
|
||||
const messageBus = container.lookup('message-bus:main');
|
||||
const keyValueStore = container.lookup('key-value-store:main');
|
||||
const currentUser = container.lookup('current-user:main');
|
||||
LogsNotice.reopenClass(Singleton, {
|
||||
createCurrent() {
|
||||
return this.create({ messageBus, keyValueStore, siteSettings});
|
||||
return this.create({ messageBus, keyValueStore, siteSettings, currentUser });
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue