Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-04-17 12:17:01 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2020-04-18 12:21:28 +0300
commit9654a924abb76aae5299780f3ae3868d2244c90c (patch)
treec4f177eaf4c859436ede7925d2ca7c5cdea49dd8 /apps/cloud_federation_api
parente45c87cd2e7cb6c818f7a99b51afd1f16606f930 (diff)
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.php24
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' => '',
+ ],
],
];