]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix route definitions of cloud_federation_api
authorJoas Schilling <coding@schilljs.com>
Fri, 17 Apr 2020 09:17:01 +0000 (11:17 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sat, 18 Apr 2020 09:21:28 +0000 (11:21 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/cloud_federation_api/appinfo/routes.php

index 9aa98315c3da26193ebf7691f2983bacbeaf1af0..8dbc0e3e9313ac07414688e63a0509b219b38e94 100644 (file)
@@ -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' => '',
+               ],
        ],
 ];