Skip to content

Commit

Permalink
fix(resolver): make trigger of notification wait for operation
Browse files Browse the repository at this point in the history
  • Loading branch information
devformatters authored and Zeck Li committed Oct 13, 2020
1 parent f8e3b40 commit e543607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mutations/article/updateTagSetting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ const resolver: MutationToUpdateTagSettingResolver = async (

// send notice
if (tag.owner) {
notificationService.trigger({
await notificationService.trigger({
event: 'tag_leave_editor',
recipientId: tag.owner,
actorId: viewer.id,
Expand Down

0 comments on commit e543607

Please sign in to comment.