Merge pull request #348 from pavarnos/patch-1

fix exception type in example
This commit is contained in:
Alex Bilbie 2015-08-21 08:58:55 +01:00
commit 1d42659595

View File

@ -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([