Add space to BlacklistedError phrase list

pull/4/head
trivernis 5 years ago
parent f57f638104
commit 54646e6b73

@ -5,6 +5,6 @@ import {BaseError} from "./BaseError";
*/ */
export class BlacklistedError extends BaseError { export class BlacklistedError extends BaseError {
constructor(public phrases: string[], field: string = "input") { constructor(public phrases: string[], field: string = "input") {
super(`The ${field} contains the blacklisted words: ${phrases.join(",")}`); super(`The ${field} contains the blacklisted words: ${phrases.join(", ")}`);
} }
} }

Loading…
Cancel
Save