Skip to content

Commit

Permalink
fix double await
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Aug 6, 2024
1 parent cca3971 commit 014746c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const topItemsHandlerFactory =
} else if (isTextFieldCandidates(payload)) {
const { textFieldCandidates: fieldNames } = payload;

const topCategoriesForField = await await fetchTopCategories({
const topCategoriesForField = await fetchTopCategories({
esClient,
logger,
emitError: responseStream.pushError,
Expand Down

0 comments on commit 014746c

Please sign in to comment.