Fix bug
This commit is contained in:
parent
caa8aee7a0
commit
9f81288fcc
48 changed files with 91 additions and 140 deletions
|
|
@ -125,7 +125,7 @@ module.exports = (params, user) =>
|
|||
}
|
||||
|
||||
// 履歴作成(自分)
|
||||
History.updateOne({
|
||||
History.update({
|
||||
user_id: user._id,
|
||||
partner: recipient._id
|
||||
}, {
|
||||
|
|
@ -138,7 +138,7 @@ module.exports = (params, user) =>
|
|||
});
|
||||
|
||||
// 履歴作成(相手)
|
||||
History.updateOne({
|
||||
History.update({
|
||||
user_id: recipient._id,
|
||||
partner: user._id
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue