adding current app type to search.
This commit is contained in:
parent
f78c919af2
commit
0f15579618
|
@ -45,6 +45,10 @@ export class LighthouseService {
|
|||
} else {
|
||||
filter.searchAfter = []
|
||||
}
|
||||
if(environment.environment_desktop){
|
||||
filter.app = "fastenhealth.desktop"
|
||||
}
|
||||
|
||||
const endpointUrl = new URL(`${environment.lighthouse_api_endpoint_base}/search`);
|
||||
return this._httpClient.post<ResponseWrapper>(endpointUrl.toString(), filter)
|
||||
.pipe(
|
||||
|
|
|
@ -19,6 +19,8 @@ export class MedicalSourcesFilter {
|
|||
searchAfter: string | string[] = '';
|
||||
|
||||
fields: string[] = []; //specify the fields to return. if null or empty list, return all.
|
||||
|
||||
app?: string
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue