mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 05:13:09 +02:00
oops
This commit is contained in:
parent
16339188a5
commit
665df6887d
1 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,9 @@ const migrate = async (doc) => {
|
|||
});
|
||||
|
||||
const result = await Othello.update(doc._id, {
|
||||
$set: doc.logs
|
||||
$set: {
|
||||
logs: doc.logs
|
||||
}
|
||||
});
|
||||
|
||||
return result.ok === 1;
|
||||
|
|
Loading…
Reference in a new issue