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/instance/new-peertube-version-for-admins.ts | 2 +- server/lib/notifier/shared/instance/new-plugin-version-for-admins.ts | 2 +- server/lib/notifier/shared/instance/registration-for-moderators.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'server/lib/notifier/shared/instance') diff --git a/server/lib/notifier/shared/instance/new-peertube-version-for-admins.ts b/server/lib/notifier/shared/instance/new-peertube-version-for-admins.ts index ab5bfb1ac..6b5ac808a 100644 --- a/server/lib/notifier/shared/instance/new-peertube-version-for-admins.ts +++ b/server/lib/notifier/shared/instance/new-peertube-version-for-admins.ts @@ -41,7 +41,7 @@ export class NewPeerTubeVersionForAdmins extends AbstractNotification { return notification } - async createEmail (to: string) { + createEmail (to: string) { const pluginUrl = WEBSERVER.URL + '/admin/plugins/list-installed?pluginType=' + this.plugin.type return { diff --git a/server/lib/notifier/shared/instance/registration-for-moderators.ts b/server/lib/notifier/shared/instance/registration-for-moderators.ts index 4deb5a2cc..2a48ef2fa 100644 --- a/server/lib/notifier/shared/instance/registration-for-moderators.ts +++ b/server/lib/notifier/shared/instance/registration-for-moderators.ts @@ -36,7 +36,7 @@ export class RegistrationForModerators extends AbstractNotification