fix meta update

This commit is contained in:
Kaity A 2023-05-13 23:57:55 +10:00
parent 59307392d4
commit 7f0cd17b38
No known key found for this signature in database
GPG Key ID: 5A797B97C2A490AD
1 changed files with 4 additions and 0 deletions

View File

@ -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: {