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