diff --git a/src/commands/suggestion.command.ts b/src/commands/suggestion.command.ts index c1998531..1539ce54 100644 --- a/src/commands/suggestion.command.ts +++ b/src/commands/suggestion.command.ts @@ -111,7 +111,8 @@ export default new Command({ "forwarded", "in-progress", "information", - "invalid" + "invalid", + "open" ] }, { @@ -459,7 +460,7 @@ export default new Command({ if (thread?.locked && !thread?.archived) await thread.setLocked(false) const CLOSE_STATUS = ["approved", "denied", "duplicate", "invalid"] - const OPEN_STATUS = ["forwarded", "in-progress", "information"] + const OPEN_STATUS = ["open", "forwarded", "in-progress", "information"] if ( // prettier-ignore thread && (( // thread must stay outside parentheses diff --git a/src/entities/Suggestion.entity.ts b/src/entities/Suggestion.entity.ts index 3af5053a..1cbbc1a4 100644 --- a/src/entities/Suggestion.entity.ts +++ b/src/entities/Suggestion.entity.ts @@ -21,7 +21,8 @@ export enum SuggestionStatuses { "forwarded", "in-progress", "information", - "invalid" + "invalid", + "open" } export interface Identifier {