diff --git a/exercises/hooks/org.js b/exercises/hooks/org.js index e3c50f8..dbbc4a9 100644 --- a/exercises/hooks/org.js +++ b/exercises/hooks/org.js @@ -12,7 +12,7 @@ const orgSchema = new mongoose.Schema({ status: { type: String, required: true, - default: ['active'], + default: 'active', enum: ['active', 'trialing', 'overdue', 'canceled'] }, last4: {