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:
parent
3da04fcae4
commit
215725a3ac
|
@ -41,6 +41,7 @@
|
|||
### Server
|
||||
- Enhance: ノートの削除処理の効率化
|
||||
- Enhance: 全体的なパフォーマンスの向上
|
||||
- Fix: SystemWebhook設定でsecretを空に出来ない問題を修正
|
||||
|
||||
|
||||
## 2025.7.0
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue