mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 19:36:20 +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;
|
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) {
|
switch (attribute.type) {
|
||||||
case 'password': {
|
case 'password': {
|
||||||
if (!isRequest) {
|
if (!isRequest) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user