Skip to content

Commit

Permalink
use new name resolver format
Browse files Browse the repository at this point in the history
  • Loading branch information
Woozl committed Aug 16, 2023
1 parent 0a958bf commit 5f923ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/fetchCuries.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default async function fetchCuries(entity, displayAlert, cancel) {
'Failed to contact name resolver to search curies. Please try again later.');
return [];
}
const curieResponse = Object.keys(response);
const curieResponse = response.map((node) => node.curie);
if (!curieResponse.length) {
return [];
}
Expand Down

0 comments on commit 5f923ba

Please sign in to comment.