mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-09-09 17:46:49 -05:00
fix: add closed value to task enum
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user