mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
fix: rename wordlist to wordList
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
GQLKarma,
|
||||
GQLMODERATION_MODE,
|
||||
GQLReactionConfiguration,
|
||||
GQLWordlist,
|
||||
GQLWordList,
|
||||
} from "talk-server/graph/tenant/schema/__generated__/types";
|
||||
|
||||
// export interface EmailDomainRuleCondition {
|
||||
@@ -89,9 +89,9 @@ export interface Settings extends ModerationSettings {
|
||||
karma: GQLKarma;
|
||||
|
||||
/**
|
||||
* wordlist stores all the banned/suspect words.
|
||||
* wordList stores all the banned/suspect words.
|
||||
*/
|
||||
wordlist: GQLWordlist;
|
||||
wordList: GQLWordList;
|
||||
|
||||
/**
|
||||
* Set of configured authentication integrations.
|
||||
|
||||
@@ -75,7 +75,7 @@ export async function createTenant(mongo: Db, input: CreateTenantInput) {
|
||||
charCount: {
|
||||
enabled: false,
|
||||
},
|
||||
wordlist: {
|
||||
wordList: {
|
||||
suspect: [],
|
||||
banned: [],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user