Skip to content

Commit

Permalink
fixed bug request v1 and v2
Browse files Browse the repository at this point in the history
  • Loading branch information
virusphp committed Apr 1, 2022
1 parent 2717d8e commit 1b85bb9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Bpjs/Vclaim/BridgeVclaim.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ public function getRequest($endpoint)
$result = $this->response->responseVclaim($result, $this->config->keyDecrypt($this->header['X-timestamp']));
return $result;
}

public function getRequestNew($endpoint)
{
$result = $this->httpGet($this->config->setUrl().$endpoint, $this->config->setHeaders($this->header));
$result = $this->response->responseVclaim($result, $this->config->keyDecrypt($this->header['X-timestamp']));
return $result;
}

public function postRequest($endpoint, $data)
{
Expand Down

0 comments on commit 1b85bb9

Please sign in to comment.