mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-25 15:46:06 +09:00
Fix keypair assignment in a migration script
This commit is contained in:
parent
27ca691543
commit
3eb659b649
@ -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 New Issue
Block a user