mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 14:49:07 +00:00
Refactor StatusPageSubscriberService to remove unnecessary code
This commit is contained in:
parent
d619d2afff
commit
995026f65f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user