mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 02:18:09 +03:00
fix: database-sync should update scores on the edited charts
This commit is contained in:
@@ -107,7 +107,7 @@ async function GenericUpsert<T extends Record<string, any>>(
|
||||
},
|
||||
});
|
||||
|
||||
changedFields.push(field);
|
||||
changedFields.push(document[field]);
|
||||
}
|
||||
|
||||
// free some memory.
|
||||
|
||||
@@ -24,6 +24,7 @@ export async function EfficientDBIterate<T, R>(
|
||||
});
|
||||
|
||||
if (docs.length === 0) {
|
||||
logger.info(`Ended documents at ${i}.`);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user