File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
app/code/Magento/AdminAdobeIms/Service Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ public function getCertificateUrl(string $fileName): string
387387 public function getOrganizationMembershipUrl (string $ orgId ): string
388388 {
389389 return str_replace (
390- ['#{orgId } ' ],
390+ ['#{org_id } ' ],
391391 [$ orgId ],
392392 $ this ->scopeConfig ->getValue (self ::XML_PATH_ORGANIZATION_MEMBERSHIP_URL )
393393 );
Original file line number Diff line number Diff line change @@ -59,10 +59,8 @@ public function checkOrganizationMembership(string $access_token): void
5959 $ curl ->addHeader ('cache-control ' , 'no-cache ' );
6060 $ curl ->addHeader ('Authorization ' , 'Bearer ' . $ access_token );
6161
62- $ curl ->get (
63- $ this ->adminImsConfig ->getOrganizationMembershipUrl ($ configuredOrganizationId ),
64- []
65- );
62+ $ orgCheckUrl = $ this ->adminImsConfig ->getOrganizationMembershipUrl ($ configuredOrganizationId );
63+ $ curl ->get ($ orgCheckUrl );
6664
6765 if ($ curl ->getBody () === '' ) {
6866 throw new AdobeImsOrganizationAuthorizationException (
You can’t perform that action at this time.
0 commit comments