diff --git a/cms-backend/src/api/home-page-hero/content-types/home-page-hero/schema.json b/cms-backend/src/api/home-page-hero/content-types/home-page-hero/schema.json index 575e8e1..a960936 100644 --- a/cms-backend/src/api/home-page-hero/content-types/home-page-hero/schema.json +++ b/cms-backend/src/api/home-page-hero/content-types/home-page-hero/schema.json @@ -46,7 +46,7 @@ }, "tokenStats": { "type": "relation", - "relation": "oneToOne", + "relation": "oneToMany", "target": "api::token-stat.token-stat" } } diff --git a/cms-backend/types/generated/contentTypes.d.ts b/cms-backend/types/generated/contentTypes.d.ts index 961dfc8..b335305 100644 --- a/cms-backend/types/generated/contentTypes.d.ts +++ b/cms-backend/types/generated/contentTypes.d.ts @@ -1693,7 +1693,7 @@ export interface ApiHomePageHeroHomePageHero extends Struct.SingleTypeSchema { subtitle: Schema.Attribute.String; title: Schema.Attribute.String; tokenStats: Schema.Attribute.Relation< - 'oneToOne', + 'oneToMany', 'api::token-stat.token-stat' >; updatedAt: Schema.Attribute.DateTime;