Skip to content

Commit 2469cf0

Browse files
authored
fix: correct Paymenter API endpoint for user info (#1434)
1 parent d291cce commit 2469cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Paymenter/Provider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function getTokenUrl(): string
4343
*/
4444
protected function getUserByToken($token)
4545
{
46-
$response = $this->getHttpClient()->get($this->getBaseUrl().'/api/oauth/me', [
46+
$response = $this->getHttpClient()->get($this->getBaseUrl().'/api/me', [
4747
RequestOptions::HEADERS => [
4848
'Authorization' => 'Bearer '.$token,
4949
],

0 commit comments

Comments
 (0)