mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 21:10:23 +00:00
refactor: checkDate
This commit is contained in:
@@ -8,7 +8,7 @@ import { FromSchema, JSONSchema } from 'json-schema-to-ts';
|
||||
const SchemaData = {
|
||||
type: 'object',
|
||||
properties: {
|
||||
user_id: { type: 'number' },
|
||||
user_id: { type: [ 'number' , 'string' ] },
|
||||
times: { type: 'number' }
|
||||
},
|
||||
required: ['user_id', 'times']
|
||||
|
||||
Reference in New Issue
Block a user