forked from FoundKeyGang/FoundKey
use predefined noteVisibilities constant
This commit is contained in:
parent
568f14070d
commit
749477c199
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ export const meta = {
|
|||
export const paramDef = {
|
||||
type: 'object',
|
||||
properties: {
|
||||
visibility: { type: 'string', enum: ['public', 'home', 'followers', 'specified'], default: 'public' },
|
||||
visibility: { type: 'string', enum: noteVisibilities, default: 'public' },
|
||||
visibleUserIds: { type: 'array', uniqueItems: true, items: {
|
||||
type: 'string', format: 'misskey:id',
|
||||
} },
|
||||
|
|
Loading…
Reference in a new issue