mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-09 07:09:57 +03:00
????
This commit is contained in:
@@ -41,7 +41,9 @@ async function RemoveNotPresent<T>(
|
||||
[field]: { $nin: documents.map((e) => e[field]) },
|
||||
});
|
||||
|
||||
// @ts-expect-error These types are broken!
|
||||
if (r.deletedCount) {
|
||||
// @ts-expect-error These types are broken!
|
||||
logger.info(`Removed ${r.deletedCount} documents.`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user