fix: plugin uninstall throwing error

This commit is contained in:
Mar0xy 2023-11-07 18:22:52 +01:00
parent d85cf658ca
commit ccd3789cc6
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

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