Fix: SystemWebhook設定でsecretを空に出来ない問題を修正 (#16371)

* fix(backend): allow system-webhook secret to be empty

* docs(changelog): update changelog

* chore: run build-misskey-js-with-types
This commit is contained in:
Sayamame-beans
2025-08-08 21:35:02 +09:00
committed by GitHub
parent 3da04fcae4
commit 215725a3ac
4 changed files with 7 additions and 6 deletions

View File

@@ -48,8 +48,8 @@ export const paramDef = {
},
secret: {
type: 'string',
minLength: 1,
maxLength: 1024,
default: '',
},
},
required: [
@@ -57,7 +57,6 @@ export const paramDef = {
'name',
'on',
'url',
'secret',
],
} as const;

View File

@@ -52,8 +52,8 @@ export const paramDef = {
},
secret: {
type: 'string',
minLength: 1,
maxLength: 1024,
default: '',
},
},
required: [
@@ -62,7 +62,6 @@ export const paramDef = {
'name',
'on',
'url',
'secret',
],
} as const;