fix meta update

This commit is contained in:
Kaity A 2023-05-13 23:57:55 +10:00
parent 804dbe6985
commit 988d7cba06

View File

@ -564,6 +564,10 @@ export default define(meta, paramDef, async (ps, me) => {
set.enableActiveEmailValidation = ps.enableActiveEmailValidation; set.enableActiveEmailValidation = ps.enableActiveEmailValidation;
} }
if (ps.experimentalFeatures !== undefined) {
set.experimentalFeatures = ps.experimentalFeatures || undefined;
}
await db.transaction(async (transactionalEntityManager) => { await db.transaction(async (transactionalEntityManager) => {
const metas = await transactionalEntityManager.find(Meta, { const metas = await transactionalEntityManager.find(Meta, {
order: { order: {