mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-25 06:41:36 -07:00
fix
This commit is contained in:
parent
402d70e74f
commit
8424a0d61c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue