1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

Merge pull request #1956 from papuruth/refactor-1942-Fix-PSR-Auth-Library

Fix PSR issues in Auth library #1937
This commit is contained in:
Christy Jacob 2021-10-19 10:31:31 +05:30 committed by GitHub
commit 52915e0656
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 15 deletions

View file

@ -4,7 +4,6 @@ namespace Appwrite\Auth\OAuth2;
use Appwrite\Auth\OAuth2\Paypal;
class PaypalSandbox extends Paypal
{
protected $environment = 'sandbox';

View file

@ -139,7 +139,8 @@ class Twitch extends OAuth2
if (empty($this->user)) {
$response = \json_decode($this->request(
'GET',
$this->resourceEndpoint , [
$this->resourceEndpoint,
[
'Authorization: Bearer '.\urlencode($accessToken),
'Client-Id: '. \urlencode($this->appID)
]