From 5a7a65aa1f984ae629c3e0e683e739fb2ba065b0 Mon Sep 17 00:00:00 2001 From: tiffanyvu Date: Tue, 26 Nov 2024 13:31:27 -0800 Subject: [PATCH] fix property --- lib/lambda/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lambda/search.ts b/lib/lambda/search.ts index ea52e4fcd..b52852ffb 100644 --- a/lib/lambda/search.ts +++ b/lib/lambda/search.ts @@ -23,7 +23,7 @@ export const getSearchData = async (event: APIGatewayEvent) => { query.query = query?.query || {}; query.query.bool = query.query?.bool || {}; query.query.bool.must = query.query.bool?.must || []; - query.query.bool.must.push({ terms: { delete: false } }); + query.query.bool.must.push({ terms: { deleted: false } }); const stateFilter = await getStateFilter(event); if (stateFilter) {