mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-12 08:19:00 +05:30
Merge pull request #348 from pavarnos/patch-1
fix exception type in example
This commit is contained in:
commit
1d42659595
@ -47,7 +47,7 @@ $router->post('/access_token', function (Request $request) use ($server) {
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
} catch (\Exception $e) {
|
} catch (OAuthException $e) {
|
||||||
|
|
||||||
return new Response(
|
return new Response(
|
||||||
json_encode([
|
json_encode([
|
||||||
|
Loading…
Reference in New Issue
Block a user