Skip to content

Commit

Permalink
fix snake case result key
Browse files Browse the repository at this point in the history
  • Loading branch information
Alive2212 committed Sep 6, 2019
1 parent a7a1c0b commit e3f2b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/MobilePassportAuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ public function IssueToken(Request $request): JsonResponse
$response->setData(collect([
'user_id' => $this->token->token->user_id,
'scope' => $request->scope,
'accessToken' => $this->token->toArray()['accessToken'],
'access_token' => $this->token->toArray()['accessToken'],
'expires_at' => $this->token->token->expires_at->timestamp,
]));
$response->setMessage($this->getTrans(__FUNCTION__, 'successful'));
Expand Down

0 comments on commit e3f2b80

Please sign in to comment.