@@ -225,7 +225,7 @@ export class CheckModeratorsActivityProcessorService {
225
225
for ( const moderator of moderators ) {
226
226
const profile = moderatorProfiles . get ( moderator . id ) ;
227
227
if ( profile && profile . email && profile . emailVerified ) {
228
- this . emailService . sendEmail ( profile . email , mail . subject , mail . html , mail . text ) . then ( ) ;
228
+ this . emailService . sendEmail ( profile . email , mail . subject , mail . html , mail . text ) ;
229
229
}
230
230
}
231
231
@@ -238,7 +238,7 @@ export class CheckModeratorsActivityProcessorService {
238
238
systemWebhook ,
239
239
'inactiveModeratorsWarning' ,
240
240
{ remainingTime : remainingTime } ,
241
- ) . then ( ) ;
241
+ ) ;
242
242
}
243
243
}
244
244
@@ -259,11 +259,11 @@ export class CheckModeratorsActivityProcessorService {
259
259
forExistingUsers : true ,
260
260
needConfirmationToRead : true ,
261
261
userId : moderator . id ,
262
- } ) . then ( ) ;
262
+ } ) ;
263
263
264
264
const profile = moderatorProfiles . get ( moderator . id ) ;
265
265
if ( profile && profile . email && profile . emailVerified ) {
266
- this . emailService . sendEmail ( profile . email , mail . subject , mail . html , mail . text ) . then ( ) ;
266
+ this . emailService . sendEmail ( profile . email , mail . subject , mail . html , mail . text ) ;
267
267
}
268
268
}
269
269
@@ -276,7 +276,7 @@ export class CheckModeratorsActivityProcessorService {
276
276
systemWebhook ,
277
277
'inactiveModeratorsInvitationOnlyChanged' ,
278
278
{ } ,
279
- ) . then ( ) ;
279
+ ) ;
280
280
}
281
281
}
282
282
0 commit comments