mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	fix exception type in example
OAuthException has httpStatusCode and getHttpHeaders(). \Exception does not
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