diff --git a/tools/migration/node.2018-03-13.othello.js b/tools/migration/node.2018-03-13.othello.js index 12d9e09533..4598f8d832 100644 --- a/tools/migration/node.2018-03-13.othello.js +++ b/tools/migration/node.2018-03-13.othello.js @@ -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;