Deny 'private' in note visibility (#5031)

Fixes #5028
This commit is contained in:
Acid Chicken (硫酸鶏) 2019-06-06 19:45:25 +09:00 committed by syuilo
parent a8ff1e19dc
commit 4436852de0

View File

@ -40,7 +40,7 @@ export const meta = {
params: { params: {
visibility: { visibility: {
validator: $.optional.str.or(['public', 'home', 'followers', 'specified', 'private']), validator: $.optional.str.or(['public', 'home', 'followers', 'specified']),
default: 'public', default: 'public',
desc: { desc: {
'ja-JP': '投稿の公開範囲' 'ja-JP': '投稿の公開範囲'