mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +00:00
Fix documentation plugin
This commit is contained in:
parent
cdfe1fcb25
commit
05c8b0f66e
@ -19,6 +19,11 @@ const cleanSchemaAttributes = (attributes, { typeMap = new Map(), isRequest = fa
|
||||
delete attributesCopy[prop].default;
|
||||
}
|
||||
|
||||
if (attribute.type === 'customField') {
|
||||
const customField = strapi.container.get('custom-fields').get(attribute.customField);
|
||||
attribute.type = customField.type;
|
||||
}
|
||||
|
||||
switch (attribute.type) {
|
||||
case 'password': {
|
||||
if (!isRequest) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user