fix(backend): make token nullable (#12280)

This commit is contained in:
zyoshoka 2023-11-08 21:10:41 +09:00 committed by GitHub
parent 828749be64
commit 2834e54e78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'] },