From e78b4bd8548107cbf46303f496d3596a703d411c Mon Sep 17 00:00:00 2001 From: Ahmed Bally Date: Sun, 24 Oct 2021 11:39:23 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a74f13..1407687 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ try { // curl --request GET --url 'https://accounts.salla.sa/oauth2/user/info' --header 'Authorization: Bearer ' /** @var \Salla\OAuth2\Client\Provider\SallaUser $user */ - $user = $provider->getResourceOwner($token->getToken()); + $user = $provider->getResourceOwner($token); /** * {