Skip to content

Commit

Permalink
Merge pull request #6 from calimania/fix/strapi-schema
Browse files Browse the repository at this point in the history
removed slug.unique from page
  • Loading branch information
dvidsilva authored Oct 30, 2024
2 parents 09952e3 + d02c28f commit 2aacc1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/page/content-types/page/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}
},
"type": "string",
"unique": true,
"unique": false,
"required": true,
"maxLength": 40
},
Expand Down
1 change: 0 additions & 1 deletion types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,6 @@ export interface ApiPagePage extends Struct.CollectionTypeSchema {
}>;
slug: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.Unique &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
Expand Down

0 comments on commit 2aacc1f

Please sign in to comment.