diff options
author | Joas Schilling <coding@schilljs.com> | 2020-04-17 11:17:01 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-04-18 11:21:28 +0200 |
commit | 9654a924abb76aae5299780f3ae3868d2244c90c (patch) | |
tree | c4f177eaf4c859436ede7925d2ca7c5cdea49dd8 /apps/cloud_federation_api | |
parent | e45c87cd2e7cb6c818f7a99b51afd1f16606f930 (diff) | |
download | nextcloud-server-9654a924abb76aae5299780f3ae3868d2244c90c.tar.gz nextcloud-server-9654a924abb76aae5299780f3ae3868d2244c90c.zip |
Fix route definitions of cloud_federation_api
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/cloud_federation_api')
-rw-r--r-- | apps/cloud_federation_api/appinfo/routes.php | 24 |
1 files 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' => '', + ], ], ]; |