mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 02:03:09 +02:00
fix
This commit is contained in:
parent
36a95c003a
commit
9f2dc28088
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue