Skip to content

Commit

Permalink
Fix unlink user API unauthorized issue
Browse files Browse the repository at this point in the history
  • Loading branch information
javidlulu committed May 21, 2021
1 parent d5752cc commit c952a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function unlinkUser($userAuthorizationId = false)
$userAuthorizationId = $this->userAuthorizationId;
}
$url = $this->api_url . $this->main()->GetEndpoint('USER_AUTH') . "/$userAuthorizationId";
$endpoint = 'v2' . $this->main()->GetEndpoint('USER_AUTH') . "/$userAuthorizationId";
$endpoint = '/v2' . $this->main()->GetEndpoint('USER_AUTH') . "/$userAuthorizationId";
$options = $this->HmacCallOpts('DELETE', $endpoint);

return $this->doCall(false, 'delete', $url, [], $options);
Expand Down

0 comments on commit c952a02

Please sign in to comment.