diff --git a/packages/pl-fe/src/utils/config-db.ts b/packages/pl-fe/src/utils/config-db.ts index 7ed0b256f..0b01a015d 100644 --- a/packages/pl-fe/src/utils/config-db.ts +++ b/packages/pl-fe/src/utils/config-db.ts @@ -28,7 +28,7 @@ const toSimplePolicy = (configs: PleromaConfig['configs']) => { if (config) { const value = config.value || []; const result = value.reduce(reducer, {}); - return v.parse(mrfSimpleSchema, result.toJS()); + return v.parse(mrfSimpleSchema, result); } else { return v.parse(mrfSimpleSchema, {}); }