mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-29 11:46:30 +08:00
v1.0.61
This commit is contained in:
parent
b0a060bc75
commit
34947790a9
2 changed files with 4 additions and 4 deletions
|
@ -210,7 +210,7 @@ class MessageHandler {
|
|||
.filter(html => html);
|
||||
}
|
||||
|
||||
this.database.collection('users').findOneAndUpdate({
|
||||
this.users.collection('users').findOneAndUpdate({
|
||||
_id: mailboxData.user
|
||||
}, {
|
||||
$inc: {
|
||||
|
@ -222,7 +222,7 @@ class MessageHandler {
|
|||
}
|
||||
|
||||
let rollback = err => {
|
||||
this.database.collection('users').findOneAndUpdate({
|
||||
this.users.collection('users').findOneAndUpdate({
|
||||
_id: mailboxData.user
|
||||
}, {
|
||||
$inc: {
|
||||
|
@ -450,7 +450,7 @@ class MessageHandler {
|
|||
updateQuota(mailboxData, inc, callback) {
|
||||
inc = inc || {};
|
||||
|
||||
this.database.collection('users').findOneAndUpdate(
|
||||
this.users.collection('users').findOneAndUpdate(
|
||||
{
|
||||
_id: mailboxData.user
|
||||
},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wildduck",
|
||||
"version": "1.0.60",
|
||||
"version": "1.0.61",
|
||||
"description": "IMAP server built with Node.js and MongoDB",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue