Commit 0f4ab50b authored by Florent Poittevin's avatar Florent Poittevin
Browse files

fix: lint error

parent c3266ad6
......@@ -132,12 +132,12 @@ export class SharedPersonState extends ResourceState<SharedPersonStateModel, Per
@Action(SharedPersonAction.SearchPerson)
searchPerson(ctx: StateContext<SharedPersonStateModel>, action: SharedPersonAction.SearchPerson): Observable<CollectionTyped<Person>> {
const map = new Map<string, string>();
map.set("firstName", action.person.firstName);
map.set("lastName", action.person.lastName);
const searchItems = new Map<string, string>();
searchItems.set("firstName", action.person.firstName);
searchItems.set("lastName", action.person.lastName);
const queryParameters = new QueryParameters();
queryParameters.search = {
searchItems: map,
searchItems: searchItems,
};
return this.apiService.get<Person>(this._urlResource, queryParameters)
.pipe(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment