mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59: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;
|
statusPage: StatusPage;
|
||||||
eventType: StatusPageEventType;
|
eventType: StatusPageEventType;
|
||||||
}): boolean {
|
}): boolean {
|
||||||
|
|
||||||
let shouldSendNotification: boolean = true; // default to true.
|
let shouldSendNotification: boolean = true; // default to true.
|
||||||
|
|
||||||
if (data.subscriber.isUnsubscribed) {
|
if (data.subscriber.isUnsubscribed) {
|
||||||
|
Loading…
Reference in New Issue
Block a user