mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-01 05:06:44 +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);
|
.filter(html => html);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.database.collection('users').findOneAndUpdate({
|
this.users.collection('users').findOneAndUpdate({
|
||||||
_id: mailboxData.user
|
_id: mailboxData.user
|
||||||
}, {
|
}, {
|
||||||
$inc: {
|
$inc: {
|
||||||
|
@ -222,7 +222,7 @@ class MessageHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
let rollback = err => {
|
let rollback = err => {
|
||||||
this.database.collection('users').findOneAndUpdate({
|
this.users.collection('users').findOneAndUpdate({
|
||||||
_id: mailboxData.user
|
_id: mailboxData.user
|
||||||
}, {
|
}, {
|
||||||
$inc: {
|
$inc: {
|
||||||
|
@ -450,7 +450,7 @@ class MessageHandler {
|
||||||
updateQuota(mailboxData, inc, callback) {
|
updateQuota(mailboxData, inc, callback) {
|
||||||
inc = inc || {};
|
inc = inc || {};
|
||||||
|
|
||||||
this.database.collection('users').findOneAndUpdate(
|
this.users.collection('users').findOneAndUpdate(
|
||||||
{
|
{
|
||||||
_id: mailboxData.user
|
_id: mailboxData.user
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "wildduck",
|
"name": "wildduck",
|
||||||
"version": "1.0.60",
|
"version": "1.0.61",
|
||||||
"description": "IMAP server built with Node.js and MongoDB",
|
"description": "IMAP server built with Node.js and MongoDB",
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in a new issue