From 9654a924abb76aae5299780f3ae3868d2244c90c Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 17 Apr 2020 11:17:01 +0200 Subject: [PATCH] Fix route definitions of cloud_federation_api Signed-off-by: Joas Schilling --- apps/cloud_federation_api/appinfo/routes.php | 24 +++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/apps/cloud_federation_api/appinfo/routes.php b/apps/cloud_federation_api/appinfo/routes.php index 9aa98315c3d..8dbc0e3e931 100644 --- a/apps/cloud_federation_api/appinfo/routes.php +++ b/apps/cloud_federation_api/appinfo/routes.php @@ -22,16 +22,18 @@ declare(strict_types=1); */ return [ - [ - 'name' => 'RequestHandler#addShare', - 'url' => '/ocm/shares', - 'verb' => 'POST', - 'root' => '', - ], - [ - 'name' => 'RequestHandler#receiveNotification', - 'url' => '/ocm/notifications', - 'verb' => 'POST', - 'root' => '', + 'routes' => [ + [ + 'name' => 'RequestHandler#addShare', + 'url' => '/ocm/shares', + 'verb' => 'POST', + 'root' => '', + ], + [ + 'name' => 'RequestHandler#receiveNotification', + 'url' => '/ocm/notifications', + 'verb' => 'POST', + 'root' => '', + ], ], ]; -- 2.39.5