mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 05:40:43 +01:00
fix: upgrade script
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports = {
|
||||
);
|
||||
// Add uid to the upload's hash object
|
||||
uploads = await db.getSortedSetMembers(key);
|
||||
await db.setObjectBulk(uploads.map(relativePath => [`upload:${md5(relativePath)}`, { uid: uids[idx] }]));
|
||||
await db.setObjectBulk(uploads.map(relativePath => [`upload:${md5(relativePath)}`, { uid: uid }]));
|
||||
}
|
||||
}));
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user