fix(backend): make isExplorable optional for backward compatibility
https://github.com/misskey-dev/misskey/pull/10677#issuecomment-1516394630
This commit is contained in:
parent
8dc60cd327
commit
5cae078e5e
|
@ -25,7 +25,7 @@ export const paramDef = {
|
|||
isPublic: { type: 'boolean' },
|
||||
isModerator: { type: 'boolean' },
|
||||
isAdministrator: { type: 'boolean' },
|
||||
isExplorable: { type: 'boolean' },
|
||||
isExplorable: { type: 'boolean', default: false }, // optional for backward compatibility
|
||||
asBadge: { type: 'boolean' },
|
||||
canEditMembersByModerator: { type: 'boolean' },
|
||||
displayOrder: { type: 'number' },
|
||||
|
@ -43,7 +43,6 @@ export const paramDef = {
|
|||
'isPublic',
|
||||
'isModerator',
|
||||
'isAdministrator',
|
||||
'isExplorable',
|
||||
'asBadge',
|
||||
'canEditMembersByModerator',
|
||||
'displayOrder',
|
||||
|
|
Loading…
Reference in a new issue