fix: Use maintainerEmail instead of email for incoming mail

This commit is contained in:
MomentQYC 2024-11-06 09:58:38 +08:00 committed by GitHub
parent 6718a54f6f
commit 54e6aa06e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,7 @@ export class AbuseReportNotificationService implements OnApplicationShutdown {
);
recipientEMailAddresses.push(
...(this.meta.email ? [this.meta.email] : []),
...(this.meta.maintainerEmail ? [this.meta.maintainerEmail] : []),
);
if (recipientEMailAddresses.length <= 0) {