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