diff --git a/server/controllers/activity.ts b/server/controllers/activity.ts index 5b904fb35..96acab88e 100644 --- a/server/controllers/activity.ts +++ b/server/controllers/activity.ts @@ -188,6 +188,7 @@ const CREATE_SCHEMA: JSONSchemaType = { }, content: { type: 'array', + game: null, items: { type: 'object', properties: { @@ -374,6 +375,7 @@ const UPDATE_A_SCHEMA: JSONSchemaType = { }, content: { type: 'array', + game: null, items: { type: 'object', properties: { diff --git a/server/controllers/pelicoPresentation.ts b/server/controllers/pelicoPresentation.ts index 5cd12686b..d7761c0f3 100644 --- a/server/controllers/pelicoPresentation.ts +++ b/server/controllers/pelicoPresentation.ts @@ -32,6 +32,7 @@ const CREATE_SCHEMA: JSONSchemaType = { properties: { content: { type: 'array', + game: null, items: { type: 'object', properties: { @@ -69,6 +70,7 @@ const UPDATE_SCHEMA: JSONSchemaType = { properties: { content: { type: 'array', + game: null, items: { type: 'object', properties: {