mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 06:04:29 +00:00
Documentation: Fix eslint errors
This commit is contained in:
parent
bd14f60980
commit
18e60778cc
@ -68,7 +68,10 @@ const getAllSchemasForContentType = ({ routeInfo, attributes, uniqueName }) => {
|
||||
[`${pascalCase(uniqueName)}LocalizationRequest`]: {
|
||||
required: [...requiredAttributes, 'locale'],
|
||||
type: 'object',
|
||||
properties: cleanSchemaAttributes(attributesForRequest, { isRequest: true, addComponentSchema }),
|
||||
properties: cleanSchemaAttributes(attributesForRequest, {
|
||||
isRequest: true,
|
||||
addComponentSchema,
|
||||
}),
|
||||
},
|
||||
};
|
||||
}
|
||||
@ -83,7 +86,10 @@ const getAllSchemasForContentType = ({ routeInfo, attributes, uniqueName }) => {
|
||||
data: {
|
||||
required: requiredAttributes,
|
||||
type: 'object',
|
||||
properties: cleanSchemaAttributes(attributesForRequest, { isRequest: true, addComponentSchema }),
|
||||
properties: cleanSchemaAttributes(attributesForRequest, {
|
||||
isRequest: true,
|
||||
addComponentSchema,
|
||||
}),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user