Skip to content

Commit

Permalink
same id field as other indexes for authors
Browse files Browse the repository at this point in the history
  • Loading branch information
kadamidev committed Feb 7, 2025
1 parent 2cc1891 commit 3994e10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions desci-server/src/services/ElasticNodesService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ async function fillAuthorData(manifestAuthors: ResearchObjectV1Author[]) {
const firstHit = hits?.[0];
return {
...firstHit?._source,
author_id: firstHit?._id,
};
});

Expand Down

0 comments on commit 3994e10

Please sign in to comment.