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