diff options
Diffstat (limited to 'core/Controller/UserController.php')
-rw-r--r-- | core/Controller/UserController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Controller/UserController.php b/core/Controller/UserController.php index f8dbc1af027..c941a80e53d 100644 --- a/core/Controller/UserController.php +++ b/core/Controller/UserController.php @@ -25,6 +25,7 @@ namespace OC\Core\Controller; use OCP\AppFramework\Controller; +use OCP\AppFramework\Http\Attribute\FrontpageRoute; use OCP\AppFramework\Http\JSONResponse; use OCP\IRequest; use OCP\IUserManager; @@ -47,6 +48,7 @@ class UserController extends Controller { * * @return JSONResponse */ + #[FrontpageRoute(verb: 'POST', url: '/displaynames')] public function getDisplayNames($users) { $result = []; |