This commit is contained in:
2021-02-08 16:55:55 +01:00
parent d9cdbcdd80
commit 651d7b55e7
6 changed files with 107 additions and 37 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ export class SearchService {
return this.http.get<EventSearch>(`${geturl}`, options);
}
mostSeachWord(size:string): Observable<TopSearch>{
mostSeachWord(size:string):Observable<any>{
// Endpoint
const geturl = environment.apiURL + 'search/top';
// store params
@@ -68,7 +68,7 @@ export class SearchService {
params: params
};
return this.http.get<TopSearch>(`${geturl}`, options);
return this.http.get<any>(`${geturl}`, options);
}
}