Skip to content

Commit 7787d45

Browse files
committed
ACP2E-3930: [QUANS] - Does Magento_Fedex core module check for a valid-active token before sending a request to get a new one?
1 parent f47cfdd commit 7787d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Fedex/Model/Carrier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ private function retrieveAccessToken(?string $apiKey, ?string $secretKey): strin
975975
$this->_debug(__('Authentication keys are missing.'));
976976
return null;
977977
}
978-
$cacheKey = 'fedex_access_token_' . md5($apiKey . $secretKey);
978+
$cacheKey = 'fedex_access_token_' . $apiKey . $secretKey;
979979
$cacheType = 'fedex_api';
980980
$cachedData = $this->cache->load($cacheKey);
981981
if ($cachedData) {

0 commit comments

Comments
 (0)