mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Fix bug
This commit is contained in:
parent
109dd7f747
commit
09783e5fb0
@ -45,7 +45,7 @@ const migrateToGridFS = async (doc) => {
|
|||||||
async function main() {
|
async function main() {
|
||||||
let i = 0;
|
let i = 0;
|
||||||
|
|
||||||
const count = db.get('drive_files').count;
|
const count = await db.get('drive_files').count({});
|
||||||
|
|
||||||
const iterate = async () => {
|
const iterate = async () => {
|
||||||
if (i == count) return true;
|
if (i == count) return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user