Refactor StatusPageSubscriberService to remove unnecessary code

This commit is contained in:
Simon Larsen 2024-10-28 13:46:52 +00:00
parent d619d2afff
commit 995026f65f
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -319,7 +319,6 @@ export class Service extends DatabaseService<Model> {
statusPage: StatusPage;
eventType: StatusPageEventType;
}): boolean {
let shouldSendNotification: boolean = true; // default to true.
if (data.subscriber.isUnsubscribed) {