Skip to content

Commit

Permalink
chore(elastic-upgrade): remove commented out code
Browse files Browse the repository at this point in the history
compositions were removed already from db-helper earlier
  • Loading branch information
makelicious committed Jul 25, 2024
1 parent 2612908 commit 9747f22
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/migration/src/utils/elasticsearch-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -107,7 +106,6 @@ export const searchCompositionByCriteria = async (
return await client.search<SearchDocument>(
{
index: ELASTICSEARCH_INDEX_NAME,
// type: 'compositions', @todo: check whether this should work
body: {
query: criteriaObject,
...extraConfigs
Expand Down

0 comments on commit 9747f22

Please sign in to comment.