From 98ab5dc81048d47d08a231f17698128f959e59b2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 25 Aug 2021 16:14:11 +0200 Subject: Remove useless async --- server/lib/notifier/shared/follow/auto-follow-for-instance.ts | 2 +- server/lib/notifier/shared/follow/follow-for-instance.ts | 2 +- server/lib/notifier/shared/follow/follow-for-user.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'server/lib/notifier/shared/follow') diff --git a/server/lib/notifier/shared/follow/auto-follow-for-instance.ts b/server/lib/notifier/shared/follow/auto-follow-for-instance.ts index 16cc62984..01d2b3563 100644 --- a/server/lib/notifier/shared/follow/auto-follow-for-instance.ts +++ b/server/lib/notifier/shared/follow/auto-follow-for-instance.ts @@ -35,7 +35,7 @@ export class AutoFollowForInstance extends AbstractNotification { return notification } - async createEmail (to: string) { + createEmail (to: string) { const awaitingApproval = this.actorFollow.state === 'pending' ? ' awaiting manual approval.' : '' diff --git a/server/lib/notifier/shared/follow/follow-for-user.ts b/server/lib/notifier/shared/follow/follow-for-user.ts index 2d0f675a8..e579d4487 100644 --- a/server/lib/notifier/shared/follow/follow-for-user.ts +++ b/server/lib/notifier/shared/follow/follow-for-user.ts @@ -56,7 +56,7 @@ export class FollowForUser extends AbstractNotification { return notification } - async createEmail (to: string) { + createEmail (to: string) { const following = this.actorFollow.ActorFollowing const follower = this.actorFollow.ActorFollower -- cgit v1.2.3