瀏覽代碼

Fix route definitions of cloud_federation_api

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v19.0.0beta5
Joas Schilling 4 年之前
父節點
當前提交
9654a924ab
No account linked to committer's email address
共有 1 個文件被更改,包括 13 次插入11 次删除
  1. 13
    11
      apps/cloud_federation_api/appinfo/routes.php

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

Loading…
取消
儲存