From 2a9cfb52f23850c89bfa0578d50a87ed7902e8f7 Mon Sep 17 00:00:00 2001 From: Bao Tran Date: Wed, 22 Jan 2025 13:20:58 -0500 Subject: [PATCH] fix: update api version --- src/package/packagePushUpgrade.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/package/packagePushUpgrade.ts b/src/package/packagePushUpgrade.ts index b0d4fada7..37b038bdc 100644 --- a/src/package/packagePushUpgrade.ts +++ b/src/package/packagePushUpgrade.ts @@ -143,7 +143,7 @@ export class PackagePushUpgrade { const pushRequestResult: PackagePushRequestResult = await connection.request({ method: 'POST', - url: '/services/data/v55.0/sobjects/packagepushrequest/', + url: '/services/data/v62.0/sobjects/packagepushrequest/', body: JSON.stringify(packagePushRequestBody), }); @@ -170,7 +170,7 @@ export class PackagePushUpgrade { await connection.request({ method: 'PATCH', - url: '/services/data/v55.0/sobjects/packagepushrequest/' + pushRequestResult?.id, + url: '/services/data/v62.0/sobjects/packagepushrequest/' + pushRequestResult?.id, body: JSON.stringify({ Status: 'Pending' }), });