mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Fix bug
This commit is contained in:
parent
f929c984e3
commit
a47015e582
@ -49,7 +49,7 @@ async function main() {
|
||||
|
||||
const iterate = async () => {
|
||||
if (i == count) return true;
|
||||
const doc = await db.get('drive_files').find({}, { skip: i })
|
||||
const doc = await db.get('drive_files').find({}, { limit: 1, skip: i })
|
||||
const res = await migrateToGridFS(doc);
|
||||
if (!res) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user