Skip to content

Commit

Permalink
调整
Browse files Browse the repository at this point in the history
  • Loading branch information
AdolphYu committed Jul 11, 2024
1 parent 701453c commit a007c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Request/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ public function getPendingRequest()
public function getAuthRequest()
{
if ($this->config->country == 'us') {
return $this->getPendingRequest()->retry(3, 100)->withHeaders([
return $this->getPendingRequest()->withHeaders([
'WM_SEC.ACCESS_TOKEN' => $this->getAccessToken()
]);
}else{
return $this->getPendingRequest()->retry(3, 100);
return $this->getPendingRequest();
}

}
Expand Down

0 comments on commit a007c07

Please sign in to comment.