mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-04-25 07:28:01 -05:00
fix: add closed value to task enum
This commit is contained in:
parent
840ccc2598
commit
2bcff40f6c
|
|
@ -13,7 +13,7 @@ const TaskSchema = new mongoose.Schema<ITask, TaskModel, ITaskMethods>({
|
|||
status: {
|
||||
type: String,
|
||||
required: true,
|
||||
enum: ['open'] // TODO - What else is there?
|
||||
enum: ['open', 'closed']
|
||||
},
|
||||
title_id: String,
|
||||
description: String,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user