1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-20 13:39:24 -05:00
This commit is contained in:
syuilo 2017-11-07 19:27:02 +09:00
parent 109dd7f747
commit 09783e5fb0

View file

@ -45,7 +45,7 @@ const migrateToGridFS = async (doc) => {
async function main() {
let i = 0;
const count = db.get('drive_files').count;
const count = await db.get('drive_files').count({});
const iterate = async () => {
if (i == count) return true;