mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-03-05 03:06:54 +01:00
Fix bug
This commit is contained in:
parent
109dd7f747
commit
09783e5fb0
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ const migrateToGridFS = async (doc) => {
|
|||
async function main() {
|
||||
let i = 0;
|
||||
|
||||
const count = db.get('drive_files').count;
|
||||
const count = await db.get('drive_files').count({});
|
||||
|
||||
const iterate = async () => {
|
||||
if (i == count) return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue