update : bycryptjs
Build and Deploy / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-14 08:49:13 +03:30
parent d7bf6e4791
commit 78d8795155
16 changed files with 64 additions and 274 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ export const seedWarranty = async (logger: Logger) => {
// Check for existing warranties and only create new ones to avoid duplicate key errors
let createdCount = 0;
let skippedCount = 0;
for (const warranty of cleanedWarranties) {
const existing = await WarrantyModel.findOne({ name: warranty.name });
if (!existing) {
@@ -64,7 +64,7 @@ export const seedWarranty = async (logger: Logger) => {
skippedCount++;
}
}
logger.info(`Warranty seeding complete! (${createdCount} created, ${skippedCount} skipped)`);
} else {
logger.warn("No valid warranties found after filtering");