Always send the headers

This commit is contained in:
Simon Hanna 2018-09-10 15:12:47 +02:00
parent 1949be3b73
commit 91d902d07c
1 changed files with 4 additions and 4 deletions

View File

@ -64,15 +64,15 @@ export class OpenLPService {
}
getMainImage(): Observable<MainView> {
return this.http.get<MainView>(`${this.apiURL}/core/live-image`);
return this.http.get<MainView>(`${this.apiURL}/core/live-image`, httpOptions);
}
getItemSlides(): Observable<Slide[]> {
return this.http.get<Slide[]>(`${this.apiURL}/controller/live-item`);
return this.http.get<Slide[]>(`${this.apiURL}/controller/live-item`, httpOptions);
}
getServiceItems(): Observable<ServiceItem[]> {
return this.http.get<ServiceItem[]>(`${this.apiURL}/service/list`);
return this.http.get<ServiceItem[]>(`${this.apiURL}/service/list`, httpOptions);
}
getSearchablePlugins(): Observable<PluginDescription[]> {
@ -84,7 +84,7 @@ export class OpenLPService {
}
search(plugin, text): Observable<any> {
return this.http.get(`${this.apiURL}/plugins/${plugin}/search?text=${text}`);
return this.http.get(`${this.apiURL}/plugins/${plugin}/search?text=${text}`, httpOptions);
}