We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5fe9e2 commit 81fdfefCopy full SHA for 81fdfef
ocm-provider/index.php
@@ -29,6 +29,8 @@
29
$isEnabled = $server->getAppManager()->isEnabledForUser('cloud_federation_api');
30
31
if ($isEnabled) {
32
+ // Make sure the routes are loaded
33
+ \OC_App::loadApp('cloud_federation_api');
34
$capabilities = new OCA\CloudFederationAPI\Capabilities($server->getURLGenerator());
35
header('Content-Type: application/json');
36
echo json_encode($capabilities->getCapabilities()['ocm']);
0 commit comments