fix: upgrade script

isekai-main
Barış Soner Uşaklı 3 years ago
parent dab22d5fd0
commit 55be42026c

@ -32,7 +32,7 @@ module.exports = {
); );
// Add uid to the upload's hash object // Add uid to the upload's hash object
uploads = await db.getSortedSetMembers(key); 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 }]));
} }
})); }));
}, { }, {

Loading…
Cancel
Save