diff options
Diffstat (limited to 'server/lib/notifier/shared/instance')
3 files changed, 3 insertions, 3 deletions
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 <NewPeerTu | |||
41 | return notification | 41 | return notification |
42 | } | 42 | } |
43 | 43 | ||
44 | async createEmail (to: string) { | 44 | createEmail (to: string) { |
45 | return { | 45 | return { |
46 | to, | 46 | to, |
47 | template: 'peertube-version-new', | 47 | template: 'peertube-version-new', |
diff --git a/server/lib/notifier/shared/instance/new-plugin-version-for-admins.ts b/server/lib/notifier/shared/instance/new-plugin-version-for-admins.ts index e5e456a70..874b10a3d 100644 --- a/server/lib/notifier/shared/instance/new-plugin-version-for-admins.ts +++ b/server/lib/notifier/shared/instance/new-plugin-version-for-admins.ts | |||
@@ -37,7 +37,7 @@ export class NewPluginVersionForAdmins extends AbstractNotification <MPlugin> { | |||
37 | return notification | 37 | return notification |
38 | } | 38 | } |
39 | 39 | ||
40 | async createEmail (to: string) { | 40 | createEmail (to: string) { |
41 | const pluginUrl = WEBSERVER.URL + '/admin/plugins/list-installed?pluginType=' + this.plugin.type | 41 | const pluginUrl = WEBSERVER.URL + '/admin/plugins/list-installed?pluginType=' + this.plugin.type |
42 | 42 | ||
43 | return { | 43 | 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 <MUserDefaul | |||
36 | return notification | 36 | return notification |
37 | } | 37 | } |
38 | 38 | ||
39 | async createEmail (to: string) { | 39 | createEmail (to: string) { |
40 | return { | 40 | return { |
41 | template: 'user-registered', | 41 | template: 'user-registered', |
42 | to, | 42 | to, |