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

@@ -732,7 +732,7 @@ class OrderService extends BaseService {
_id: orderId,
},
{
$push: { fulfillments: { $each: results } },
$addToSet: { fulfillments: { $each: results } },
$set: updateFields,
}
)