Skip to content
Snippets Groups Projects
Unverified Commit 792b657a authored by syuilo's avatar syuilo Committed by GitHub
Browse files

Merge pull request #1311 from akihikodaki/key

Fix keypair assignment in a migration script
parents 9a56c9ad 629e1960
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,7 @@ const updates = [];
User.find({}).each(function(user) {
updates.push(User.update({ _id: user._id }, {
$set: {
account: {
keypair: generate(),
}
'account.keypair': generate(),
}
}));
}).then(function () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment