Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/commands/suggestion.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ export default new Command({
"forwarded",
"in-progress",
"information",
"invalid"
"invalid",
"open"
]
},
{
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/entities/Suggestion.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export enum SuggestionStatuses {
"forwarded",
"in-progress",
"information",
"invalid"
"invalid",
"open"
}

export interface Identifier {
Expand Down
Loading