frontend-rw #1
1 changed files with 1 additions and 1 deletions
|
@ -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, {});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue