This commit is contained in:
syuilo 2018-03-13 02:03:12 +09:00
parent a3dc7db518
commit d7d5d12e48

View File

@ -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;