fix: rename wordlist to wordList

This commit is contained in:
Wyatt Johnson
2018-10-22 15:52:17 -06:00
parent fa72d5deda
commit 3b6f3c9ea8
8 changed files with 22 additions and 26 deletions
+3 -3
View File
@@ -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.
+1 -1
View File
@@ -75,7 +75,7 @@ export async function createTenant(mongo: Db, input: CreateTenantInput) {
charCount: {
enabled: false,
},
wordlist: {
wordList: {
suspect: [],
banned: [],
},