fix: nodeinfoにenableMcaptchaとenableTurnstileが無い (#13387)

This commit is contained in:
anatawa12 2024-02-19 08:33:36 +09:00 committed by GitHub
parent b0030d148d
commit 0b636d1bf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 0 deletions

View file

@ -253,6 +253,8 @@ export class MiMeta {
})
public turnstileSecretKey: string | null;
// chaptcha系を追加した際にはnodeinfoのレスポンスに追加するのを忘れないようにすること
@Column('enum', {
enum: ['none', 'all', 'local', 'remote'],
default: 'none',