hotfix: fulfillment-schema (#121)

* chore: debug

* corrects fulfillment schema
This commit is contained in:
Sebastian Rindom
2020-10-06 16:59:15 +02:00
committed by GitHub
parent 8661520d5c
commit 5deca90b5f
3 changed files with 6 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ export default new mongoose.Schema({
created: { type: String, default: Date.now },
provider_id: { type: String, required: true },
items: { type: [mongoose.Schema.Types.Mixed], required: true },
data: { type: [mongoose.Schema.Types.Mixed], default: {} },
data: { type: mongoose.Schema.Types.Mixed, default: {} },
tracking_numbers: { type: [String], default: [] },
shipped_at: { type: String },
is_canceled: { type: Boolean, default: false },