Skip to content

Commit 2f42e5f

Browse files
committed
fix: style issues
1 parent f768670 commit 2f42e5f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/core/content-type-builder/server/src/services/schema-builder/content-type-builder.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ const createContentTypeUID = ({
372372
}: {
373373
plugin?: string;
374374
singularName: string;
375-
}): Internal.UID.ContentType => `${plugin ? `plugin` : `api`}::${plugin ? plugin : singularName}.${singularName}`;
375+
}): Internal.UID.ContentType =>
376+
`${plugin ? `plugin` : `api`}::${plugin || singularName}.${singularName}`;
376377

377378
const generateRelation = ({
378379
key,

0 commit comments

Comments
 (0)