From d6865170e1bb475f56fd68648b010df0d086d69e Mon Sep 17 00:00:00 2001 From: Gary Crye Date: Wed, 6 Jul 2022 07:56:26 -0600 Subject: [PATCH] Fix: somehow missed switching the host (the whole point of this PR) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,