mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-03 11:17:28 +00:00
Fix keypair assignment in a migration script
This commit is contained in:
parent
396bb5821e
commit
629e19603e
1 changed files with 1 additions and 3 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue