diff --git a/frontend/recorever-frontend/src/app/core/services/item-service.ts b/frontend/recorever-frontend/src/app/core/services/item-service.ts index bd2818c3..38a52fce 100644 --- a/frontend/recorever-frontend/src/app/core/services/item-service.ts +++ b/frontend/recorever-frontend/src/app/core/services/item-service.ts @@ -159,17 +159,4 @@ export class ItemService { `${this.apiUrl}/reports/${reportId}/potential-matches/${claimantId}` ); } - - searchLocations(query: string): Observable { - if (this.searchLocationCache.has(query)) { - return of(this.searchLocationCache.get(query)!); - } - - const params = new HttpParams().set('query', query); - return this.http.get(`${this.apiUrl}/reports/locations`, - { params }).pipe( - tap((locations: string[]) => - this.searchLocationCache.set(query, locations)) - ); - } } \ No newline at end of file