aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/api/oauth2/oauth2_controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api/oauth2/oauth2_controller.php')
-rw-r--r--app/controllers/api/oauth2/oauth2_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/oauth2/oauth2_controller.php b/app/controllers/api/oauth2/oauth2_controller.php
index fd02ea9..6b3dacd 100644
--- a/app/controllers/api/oauth2/oauth2_controller.php
+++ b/app/controllers/api/oauth2/oauth2_controller.php
@@ -42,7 +42,7 @@ abstract class OAuth2Controller extends StudipController
return $this->convertPsrResponse($psrResponse);
}
- return new Trails_Response($exception->getMessage(), [], 500);
+ return new Trails\Response($exception->getMessage(), [], 500);
}
protected function getAuthorizationServer(): AuthorizationServer