mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix bug
This commit is contained in:
parent
a47015e582
commit
c78d30f500
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ const migrateToGridFS = async (doc) => {
|
||||||
async function main() {
|
async function main() {
|
||||||
let i = 0;
|
let i = 0;
|
||||||
|
|
||||||
const count = db.get('drive_files').count;
|
const count = await db.get('drive_files').count({});
|
||||||
|
|
||||||
const iterate = async () => {
|
const iterate = async () => {
|
||||||
if (i == count) return true;
|
if (i == count) return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue