mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-11-10 17:47:07 +08:00
Do not use updateOne on possibly sharded collection without shard key
This commit is contained in:
parent
3d38cf1dc2
commit
9cfd3271b6
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ class AuditHandler {
|
|||
}
|
||||
|
||||
async updateDeliveryStatus(queueId, seq, status, info) {
|
||||
await this.gridfs.collection('audit.files').updateOne(
|
||||
await this.gridfs.collection('audit.files').update(
|
||||
{ 'metadata.info.queueId': queueId },
|
||||
{
|
||||
$push: {
|
||||
|
|
Loading…
Reference in a new issue