mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
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 New Issue
Block a user