diff --git a/src/sri.ts b/src/sri.ts index f40cecb..92dcb9b 100644 --- a/src/sri.ts +++ b/src/sri.ts @@ -16,7 +16,7 @@ function combineInputs(userInput: ResolverInput): string[] { //input: array of curies //handles querying and batching of inputs async function query(api_input: string[]) { - let url: URL = new URL('https://nodenormalization-sri-dev.renci.org/1.1/get_normalized_nodes'); // TODO: change to non-dev version when ready + let url: URL = new URL('https://nodenormalization-sri.renci.org/1.2/get_normalized_nodes'); //SRI returns a 414 error if the length of the url query is greater than 65536, split into chunks of 1500 curies to be on the safe side (lower number if still running into 414 errors) let chunked_input = _.chunk(api_input, 1500);