Fix route definitions of cloud_federation_api

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-04-17 11:17:01 +02:00 committed by Roeland Jago Douma
parent e45c87cd2e
commit 9654a924ab
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 13 additions and 11 deletions

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