From 7f0cd17b3848678067a2ffeb4c4bb67e6576a39a Mon Sep 17 00:00:00 2001 From: Kaity A Date: Sat, 13 May 2023 23:57:55 +1000 Subject: [PATCH] fix meta update --- .../backend/src/server/api/endpoints/admin/update-meta.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/backend/src/server/api/endpoints/admin/update-meta.ts b/packages/backend/src/server/api/endpoints/admin/update-meta.ts index 586378d15..c5d534879 100644 --- a/packages/backend/src/server/api/endpoints/admin/update-meta.ts +++ b/packages/backend/src/server/api/endpoints/admin/update-meta.ts @@ -564,6 +564,10 @@ export default define(meta, paramDef, async (ps, me) => { set.enableActiveEmailValidation = ps.enableActiveEmailValidation; } + if (ps.experimentalFeatures !== undefined) { + set.experimentalFeatures = ps.experimentalFeatures || undefined; + } + await db.transaction(async (transactionalEntityManager) => { const metas = await transactionalEntityManager.find(Meta, { order: {