Skip to content

Commit

Permalink
static fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Anzhuo-W authored Nov 10, 2024
1 parent 6b0a765 commit 33d52df
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions services/searcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,9 +577,7 @@ class Searcher {
);
({ resultCount, took, aggregations } = searchResults);
const startHydrate = Date.now();
results = await new HydrateSerializer().bulkSerialize(
searchResults.output
);
results = await HydrateSerializer.bulkSerialize(searchResults.output);
results = this.filterOutSections(results, filters);
hydrateDuration = Date.now() - startHydrate;
}
Expand Down

0 comments on commit 33d52df

Please sign in to comment.