mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 01:30:23 +01:00
fix
This commit is contained in:
parent
a46b98b617
commit
2aa3139dbe
1 changed files with 3 additions and 3 deletions
|
@ -176,12 +176,12 @@ const noteBlockSchema = {
|
|||
properties: {
|
||||
...blockBaseSchema.properties,
|
||||
type: { type: 'string', nullable: false, enum: ['note']},
|
||||
detailed: { type: 'boolean', nullable: false },
|
||||
note: { type: 'string', format: 'misskey:id', nullable: true },
|
||||
detailed: { type: 'boolean', nullable: true },
|
||||
note: { type: 'string', format: 'misskey:id', nullable: false },
|
||||
},
|
||||
required: [
|
||||
...blockBaseSchema.required,
|
||||
'detailed',
|
||||
'note',
|
||||
],
|
||||
} as const;
|
||||
|
||||
|
|
Loading…
Reference in a new issue