refactor: reboot req params

This commit is contained in:
手瓜一十雪
2024-06-05 14:25:21 +08:00
parent 3377c383c1
commit c35d2e08cd
2 changed files with 2 additions and 3 deletions

View File

@@ -8,8 +8,7 @@ const SchemaData = {
type: 'object',
properties: {
delay: { type: 'number' }
},
required: ['delay']
}
} as const satisfies JSONSchema;
type Payload = FromSchema<typeof SchemaData>;