mirror of
https://github.com/strapi/strapi.git
synced 2025-10-28 16:39:37 +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'] =
|
||||
model.modelType === 'contentType'
|
||||
? { documentID: { type: 'string', default: createId } }
|
||||
? { documentId: { type: 'string', default: createId } }
|
||||
: {};
|
||||
|
||||
metadata.add({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user