From 9747f22be79efdfb183d9a2493bf13de113d1942 Mon Sep 17 00:00:00 2001 From: Markus Date: Thu, 25 Jul 2024 09:37:27 +0300 Subject: [PATCH] chore(elastic-upgrade): remove commented out code compositions were removed already from db-helper earlier --- packages/migration/src/utils/elasticsearch-helper.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/migration/src/utils/elasticsearch-helper.ts b/packages/migration/src/utils/elasticsearch-helper.ts index 73f0cee6f3a..cd74b45828e 100644 --- a/packages/migration/src/utils/elasticsearch-helper.ts +++ b/packages/migration/src/utils/elasticsearch-helper.ts @@ -29,7 +29,6 @@ export const updateComposition = async ( return await client.update( { index: ELASTICSEARCH_INDEX_NAME, - // type: 'compositions', @todo: check whether this should work id, body: { doc: body @@ -107,7 +106,6 @@ export const searchCompositionByCriteria = async ( return await client.search( { index: ELASTICSEARCH_INDEX_NAME, - // type: 'compositions', @todo: check whether this should work body: { query: criteriaObject, ...extraConfigs