feat: lint fix
This commit is contained in:
parent
080059837b
commit
0d53d260da
2 changed files with 1 additions and 2 deletions
|
@ -731,7 +731,7 @@ $utopia->get('/v1/auth/oauth/:provider/redirect')
|
||||||
$validateURL = new URL();
|
$validateURL = new URL();
|
||||||
|
|
||||||
// Uncomment this while testing amazon oAuth
|
// Uncomment this while testing amazon oAuth
|
||||||
$state = html_entity_decode($state);
|
// $state = html_entity_decode($state);
|
||||||
|
|
||||||
if (!empty($state)) {
|
if (!empty($state)) {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -42,7 +42,6 @@ class Amazon extends OAuth
|
||||||
*/
|
*/
|
||||||
public function getAccessToken(string $code): string
|
public function getAccessToken(string $code): string
|
||||||
{
|
{
|
||||||
|
|
||||||
$headers[] = 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8';
|
$headers[] = 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8';
|
||||||
$accessToken = $this->request(
|
$accessToken = $this->request(
|
||||||
'POST',
|
'POST',
|
||||||
|
|
Loading…
Reference in a new issue