Skip to content

Commit

Permalink
Merge pull request #62 from Dulajdeshan/main
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
Dulajdeshan authored Oct 6, 2024
2 parents 07354b2 + d4bbe32 commit c308f58
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ export default ({ strapi }: { strapi: Strapi }) => {
const models = Object.keys(contentTypes).reduce((acc, key) => {
const contentType = contentTypes[key];

if (!key.startsWith("api")) return acc;

// Filter out content types that have the custom field "plugin::strapi-advanced-uuid.uuid"
const attributes = Object.keys(contentType.attributes).filter((attrKey) => {
const attribute = contentType.attributes[attrKey];
Expand Down

0 comments on commit c308f58

Please sign in to comment.