diff --git a/index.js b/index.js index ba7c5db..929593f 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ async function run () { // End the RFC const optionsToEndRfc = { method: 'PUT', - uri: `https://api.byu.edu:443/domains/servicenow/changerequest/v1/change_request/${changeSysId}`, + uri: `https://${host}/domains/servicenow/changerequest/v1/change_request/${changeSysId}`, body: { state: 'Finished', work_start: workStart,