diff --git a/src/api/customer/content-types/customer/schema.json b/src/api/customer/content-types/customer/schema.json index 7fe1e17..dce0a18 100644 --- a/src/api/customer/content-types/customer/schema.json +++ b/src/api/customer/content-types/customer/schema.json @@ -35,7 +35,7 @@ }, "active": { "type": "boolean", - "default": true, + "default": false, "required": false }, "clients": { diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index 3f9947c..4a14717 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -417,7 +417,7 @@ export interface ApiCustomerCustomer extends Struct.CollectionTypeSchema { draftAndPublish: true; }; attributes: { - active: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo; + active: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo; blocks: Schema.Attribute.Relation<'oneToMany', 'api::block.block'>; clients: Schema.Attribute.Relation<'manyToMany', 'api::customer.customer'>; createdAt: Schema.Attribute.DateTime;