Skip to content

Commit

Permalink
merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kadamidev committed Feb 3, 2025
2 parents 631d788 + ed53066 commit 31a82b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desci-server/src/services/ElasticNodesService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ async function fillAuthorData(manifestAuthors: ResearchObjectV1Author[]) {
}));

const oaMatches = await searchEsAuthors(nameOrcids);
console.log('Search results:', oaMatches);
logger.info('Search results:', oaMatches);
const authors = oaMatches?.responses?.map((res) => {
const hits = res.hits?.hits;
const firstHit = hits?.[0];
Expand All @@ -161,7 +161,7 @@ async function fillAuthorData(manifestAuthors: ResearchObjectV1Author[]) {

return authors;
} catch (error) {
console.error('Error in fillAuthorData:', error);
logger.error('Error in fillAuthorData:', error);
throw error;
}
}
Expand Down

0 comments on commit 31a82b4

Please sign in to comment.