🐛 Search users env var parse (#308)

This commit is contained in:
Montassar Ghanmy
2024-01-08 12:56:52 +01:00
committed by GitHub
parent eae85905a0
commit 225814efe2
@@ -56,7 +56,7 @@ export function formatCompany(
[CompanyFeaturesEnum.COMPANY_INVITE_MEMBER]: true,
// use the config value for this one
[CompanyFeaturesEnum.COMPANY_SEARCH_USERS]:
(config.get("drive.featureSearchUsers") as boolean) || true,
JSON.parse(config.get("drive.featureSearchUsers")) || true,
},
{
...(res.plan?.features || {}),