Skip to content

Commit

Permalink
Fixed error processing doc ids
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonSmith committed Aug 8, 2024
1 parent bd68cb9 commit f0914ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const Content: React.FC<Props> = (props) => {
.filter((citation: any) => citation.tool_name === 'Minimap')

// Extract and deduplicate doc_ids
let minimapCitationsUnique = new Set(minimapCitations.map((c: any) => parseInt(c.fields.doc_id, 10)));
let minimapCitationsUnique = new Set(minimapCitations.map((c: any) => parseInt(c.fields.document_id, 10)));

const payload = {
ids: Array.from(minimapCitationsUnique),
Expand Down

0 comments on commit f0914ed

Please sign in to comment.