1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Remove useless async

This commit is contained in:
Chocobozzz 2021-08-25 16:14:11 +02:00
parent 851675c559
commit 98ab5dc810
No known key found for this signature in database
GPG key ID: 583A612D890159BE
35 changed files with 49 additions and 43 deletions

View file

@ -41,7 +41,7 @@ export class NewPeerTubeVersionForAdmins extends AbstractNotification <NewPeerTu
return notification
}
async createEmail (to: string) {
createEmail (to: string) {
return {
to,
template: 'peertube-version-new',

View file

@ -37,7 +37,7 @@ export class NewPluginVersionForAdmins extends AbstractNotification <MPlugin> {
return notification
}
async createEmail (to: string) {
createEmail (to: string) {
const pluginUrl = WEBSERVER.URL + '/admin/plugins/list-installed?pluginType=' + this.plugin.type
return {

View file

@ -36,7 +36,7 @@ export class RegistrationForModerators extends AbstractNotification <MUserDefaul
return notification
}
async createEmail (to: string) {
createEmail (to: string) {
return {
template: 'user-registered',
to,