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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 6 deletions

View File

@ -41,6 +41,7 @@
### Server
- Enhance: ノートの削除処理の効率化
- Enhance: 全体的なパフォーマンスの向上
- Fix: SystemWebhook設定でsecretを空に出来ない問題を修正
## 2025.7.0

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;

View File

@ -11887,7 +11887,8 @@ export interface operations {
name: string;
on: ('abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged')[];
url: string;
secret: string;
/** @default */
secret?: string;
};
};
};
@ -12231,7 +12232,8 @@ export interface operations {
name: string;
on: ('abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged')[];
url: string;
secret: string;
/** @default */
secret?: string;
};
};
};