From c35d2e08cd7d57f505907280d7057a17c235591e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Wed, 5 Jun 2024 14:25:21 +0800 Subject: [PATCH] refactor: reboot req params --- src/core | 2 +- src/onebot11/action/system/Reboot.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core b/src/core index 2abb424c..1d7364fe 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 2abb424c620da4a1b47f7afac9ff054d2abf20dd +Subproject commit 1d7364fe519cfedb6cd2f88e42f5ec2738a7adc8 diff --git a/src/onebot11/action/system/Reboot.ts b/src/onebot11/action/system/Reboot.ts index 8bb0386c..19d6ad9c 100644 --- a/src/onebot11/action/system/Reboot.ts +++ b/src/onebot11/action/system/Reboot.ts @@ -8,8 +8,7 @@ const SchemaData = { type: 'object', properties: { delay: { type: 'number' } - }, - required: ['delay'] + } } as const satisfies JSONSchema; type Payload = FromSchema;