mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
#25: Patched up date parsing in the OAuth integration.
This commit is contained in:
parent
d2193954a8
commit
f10da0019f
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
|||
return new AccessToken([
|
||||
'access_token' => $accessTokenRecord->access_token,
|
||||
'refresh_token' => $accessTokenRecord->refresh_token,
|
||||
'expires' => Carbon::createFromFormat('Y-m-d H:i:s', $accessTokenRecord->expires)->timestamp,
|
||||
'expires' => Carbon::parse($accessTokenRecord->expires)->timestamp,
|
||||
'resource_owner_id' => $accessTokenRecord->external_user_id,
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue