diff --git a/lib/dms.js b/lib/dms.js index 0883bfcb..dd6685e2 100644 --- a/lib/dms.js +++ b/lib/dms.js @@ -9,7 +9,7 @@ const logger = require('../utils/logger') class DmsModel { constructor(config) { this.config = config - this.api = config.get('API_URL') + this.api = config.get('INTERNAL_API_URL') || config.get('API_URL') } async getJsonResponse(params, action) {