diff --git a/packages/backend/src/server/api/endpoints/notes/update.ts b/packages/backend/src/server/api/endpoints/notes/update.ts index 6bc0e3d7f9..433f20806e 100644 --- a/packages/backend/src/server/api/endpoints/notes/update.ts +++ b/packages/backend/src/server/api/endpoints/notes/update.ts @@ -57,7 +57,7 @@ export const paramDef = { type: 'string', minLength: 1, maxLength: MAX_NOTE_TEXT_LENGTH, - nullable: false, + nullable: true, }, cw: { type: 'string', @@ -98,9 +98,6 @@ export const paramDef = { fileIds: { type: 'null', }, - mediaIds: { - type: 'null', - }, poll: { type: 'null', },