mirror of
https://github.com/strapi/strapi.git
synced 2025-10-29 08:59:34 +00:00
fix: documentId casing
This commit is contained in:
parent
dae632c775
commit
f23ce5a08c
@ -43,7 +43,7 @@ export const createMetadata = (models: Model[] = []): Metadata => {
|
|||||||
|
|
||||||
const documentIdAttribute: Meta['attributes'] =
|
const documentIdAttribute: Meta['attributes'] =
|
||||||
model.modelType === 'contentType'
|
model.modelType === 'contentType'
|
||||||
? { documentID: { type: 'string', default: createId } }
|
? { documentId: { type: 'string', default: createId } }
|
||||||
: {};
|
: {};
|
||||||
|
|
||||||
metadata.add({
|
metadata.add({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user