Fix bug
This commit is contained in:
parent
7a6b5b0bfc
commit
1f86a6d329
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ export default async (user: User, data: Option, silent = false) => new Promise<N
|
|||
const nm = new NotificationManager(user, note);
|
||||
const nmRelatedPromises = [];
|
||||
|
||||
createMentionedEvents(mentionedUsers, note, nm);
|
||||
await createMentionedEvents(mentionedUsers, note, nm);
|
||||
|
||||
const profile = await UserProfiles.findOne(user.id).then(ensure);
|
||||
|
||||
|
|
Loading…
Reference in a new issue