Skip to content

Commit

Permalink
Add caching flag to ensureValueSetsInLibrary
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoesel committed Apr 21, 2020
1 parent eb78671 commit 84a779f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/CodeService.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ class CodeService {
* @param {string} umlsPassword - the UMLS password to use when downloading value sets (defaults to env "UMLS_PASSWORD")
* @returns {Promise.<undefined,Error>} A promise that returns nothing when resolved and returns an error when rejected.
*/
ensureValueSetsInLibrary(library, checkIncluded = true, umlsUserName = env['UMLS_USER_NAME'], umlsPassword = env['UMLS_PASSWORD']) {
ensureValueSetsInLibrary(library, checkIncluded = true, umlsUserName = env['UMLS_USER_NAME'], umlsPassword = env['UMLS_PASSWORD'], caching = true) {
const valueSets = extractSetOfValueSetsFromLibrary(library, checkIncluded);
return this.ensureValueSets(Array.from(valueSets), umlsUserName, umlsPassword);
return this.ensureValueSets(Array.from(valueSets), umlsUserName, umlsPassword, caching);
}

findValueSetsByOid(oid) {
Expand Down

0 comments on commit 84a779f

Please sign in to comment.