Skip to content

Commit

Permalink
fix Oauth createAuthorization
Browse files Browse the repository at this point in the history
  • Loading branch information
justmd5 committed Mar 14, 2022
1 parent c99da51 commit 1b3d5a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
vendor
composer.lock
composer.lock
public
3 changes: 2 additions & 1 deletion src/Oauth/Oauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public function createAuthorization(string $token, int $expires = 86399): PinDuo
{
$accessToken = new AccessToken(
$this->app->getConfig('client_id'),
$this->app->getConfig('client_secret')
$this->app->getConfig('client_secret'),
$this->app
);

$accessToken->setToken($token, $expires);
Expand Down

0 comments on commit 1b3d5a0

Please sign in to comment.