Don't force token refresh
This commit is contained in:
parent
7628f3d2c6
commit
ec3434efcd
@ -36,7 +36,7 @@ class UPSAPIs {
|
|||||||
|
|
||||||
public static function getAPIRequest($endpoint) {
|
public static function getAPIRequest($endpoint) {
|
||||||
$headers = [
|
$headers = [
|
||||||
"Authorization: Bearer " . UPSAPIs::getBearerToken(true),
|
"Authorization: Bearer " . UPSAPIs::getBearerToken(false),
|
||||||
"transId: " . uniqid(),
|
"transId: " . uniqid(),
|
||||||
"transactionSrc: Netsyms"
|
"transactionSrc: Netsyms"
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user