]>
Commit | Line | Data |
---|---|---|
33c7a0ef TL |
1 | import { HttpClient } from '@angular/common/http'; |
2 | import { Injectable } from '@angular/core'; | |
3 | ||
4 | @Injectable({ | |
5 | providedIn: 'root' | |
6 | }) | |
7 | export class CustomLoginBannerService { | |
8 | baseUiURL = 'ui-api/login/custom_banner'; | |
9 | ||
10 | constructor(private http: HttpClient) {} | |
11 | ||
12 | getBannerText() { | |
13 | return this.http.get<string>(this.baseUiURL); | |
14 | } | |
15 | } |