mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-28 06:48:32 +09:00
fix
This commit is contained in:
parent
36a95c003a
commit
9f2dc28088
@ -46,7 +46,7 @@ const migrateToGridFS = async (doc) => {
|
||||
}
|
||||
|
||||
async function main() {
|
||||
const count = await DriveFile.count({});
|
||||
const count = await db.get('drive_files').count({});
|
||||
|
||||
console.log(`there are ${count} files.`)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user