mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 14:58:09 +09:00
fix
This commit is contained in:
parent
402d70e74f
commit
8424a0d61c
@ -46,7 +46,7 @@ const migrateToGridFS = async (doc) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const count = await DriveFile.count({});
|
const count = await db.get('drive_files').count({});
|
||||||
|
|
||||||
console.log(`there are ${count} files.`)
|
console.log(`there are ${count} files.`)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user