Skip to content

Commit

Permalink
fix e2e test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjiequan committed May 21, 2024
1 parent 9b3472e commit c4daf42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/elastic-search/configuration/datasetFieldMapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export const datasetMappings: MappingObject = {
history: {
type: "nested",
dynamic: false,
ignore_above: 256,
},
proposalId: {
type: "keyword",
Expand Down
2 changes: 1 addition & 1 deletion src/elastic-search/elastic-search.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ export class ElasticSearchService implements OnModuleInit {
];
},
onDrop(doc) {
console.debug(`${doc.document._id}`, doc.error?.reason);
console.debug(`${doc.document.pid}`, doc.error?.reason);
},
});
}
Expand Down

0 comments on commit c4daf42

Please sign in to comment.