blob: a8f7c467a0ca742c5e11911e2fc9e479f2af7caf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class HealthService {
constructor(private http: HttpClient) {}
getFullHealth() {
return this.http.get('api/health/full');
}
getMinimalHealth() {
return this.http.get('api/health/minimal');
}
}
|