fix(backend): make token nullable (#12280)
This commit is contained in:
parent
828749be64
commit
2834e54e78
|
@ -18,7 +18,7 @@ export const paramDef = {
|
|||
type: 'object',
|
||||
properties: {
|
||||
tokenId: { type: 'string', format: 'misskey:id' },
|
||||
token: { type: 'string' },
|
||||
token: { type: 'string', nullable: true },
|
||||
},
|
||||
anyOf: [
|
||||
{ required: ['tokenId'] },
|
||||
|
|
Loading…
Reference in a new issue