|
|
|
@ -37,6 +37,7 @@ export class TesterService extends ServiceHelpers {
|
|
|
|
|
public pushbulletTest(settings: IPushbulletNotificationSettings): Observable<boolean> {
|
|
|
|
|
return this.http.post<boolean>(`${this.url}pushbullet`, JSON.stringify(settings), {headers: this.headers});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public pushoverTest(settings: IPushoverNotificationSettings): Observable<boolean> {
|
|
|
|
|
return this.http.post<boolean>(`${this.url}pushover`, JSON.stringify(settings), {headers: this.headers});
|
|
|
|
|
}
|
|
|
|
@ -80,9 +81,11 @@ export class TesterService extends ServiceHelpers {
|
|
|
|
|
public sickrageTest(settings: ISickRageSettings): Observable<boolean> {
|
|
|
|
|
return this.http.post<boolean>(`${this.url}sickrage`, JSON.stringify(settings), {headers: this.headers});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public newsletterTest(settings: INewsletterNotificationSettings): Observable<boolean> {
|
|
|
|
|
return this.http.post<boolean>(`${this.url}newsletter`, JSON.stringify(settings), {headers: this.headers});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public mobileNotificationTest(settings: IMobileNotificationTestSettings): Observable<boolean> {
|
|
|
|
|
return this.http.post<boolean>(`${this.url}mobile`, JSON.stringify(settings), {headers: this.headers});
|
|
|
|
|
}
|
|
|
|
|