From 57298486bf3b1d20c2edd852eacbce838922204b Mon Sep 17 00:00:00 2001 From: mshanemc Date: Fri, 24 May 2024 11:34:31 -0500 Subject: [PATCH] chore: remove unnecessary instanceUrl --- src/commands/create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/create.ts b/src/commands/create.ts index 87cd47c..b2a29e1 100644 --- a/src/commands/create.ts +++ b/src/commands/create.ts @@ -140,7 +140,7 @@ export default class Create extends SfCommand { const createResult = await conn.request( { method: 'POST', - url: conn.instanceUrl + '/services/apexrest/change-management/v2/change-cases', + url: '/services/apexrest/change-management/v2/change-cases', body: JSON.stringify(record), }, { responseType: 'application/json' }