add missing config for space membership endpoint

This commit is contained in:
David Christofas
2021-12-16 16:52:22 +01:00
parent 9dca6c3286
commit 1050bd4f29
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
Bugfix: Fix configuration for space membership endpoint
Added a missing config value to the ocs config related to the space membership endpoint.
https://github.com/owncloud/ocis/pull/2893
+1
View File
@@ -194,6 +194,7 @@ func frontendConfigFromStruct(c *cli.Context, cfg *config.Config, filesCfg map[s
"public_url": cfg.Reva.Frontend.PublicURL,
},
"ocs": map[string]interface{}{
"storage_registry_svc": cfg.Reva.Gateway.Endpoint,
"share_prefix": cfg.Reva.Frontend.OCSSharePrefix,
"home_namespace": cfg.Reva.Frontend.OCSHomeNamespace,
"resource_info_cache_ttl": cfg.Reva.Frontend.OCSResourceInfoCacheTTL,