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 [ return [
[ 'routes' => [
'name' => 'RequestHandler#addShare', [
'url' => '/ocm/shares', 'name' => 'RequestHandler#addShare',
'verb' => 'POST', 'url' => '/ocm/shares',
'root' => '', 'verb' => 'POST',
], 'root' => '',
[ ],
'name' => 'RequestHandler#receiveNotification', [
'url' => '/ocm/notifications', 'name' => 'RequestHandler#receiveNotification',
'verb' => 'POST', 'url' => '/ocm/notifications',
'root' => '', 'verb' => 'POST',
'root' => '',
],
], ],
]; ];