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:
-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' => '',
+ ],
],
];