Fix: Rettet typo i e-conomic sync (verifiot_matched_count → verified_count) og tilføjet not_matched til return value

This commit is contained in:
Christian 2025-12-22 10:48:04 +01:00
parent 8b71524437
commit c5ce819a15

View File

@ -377,13 +377,13 @@ async def sync_from_economic() -> Dict[str, Any]:
else: else:
not_matched_count += 1 not_matched_count += 1
logger.info(f"✅ e-conomic sync fuldført: {matched_count} matchet, {not_matched_count} ikke matchet af {len(economic_customers)} totalt") logger.info(f"✅ e-conomic sync fuldført: {matched_count} nye matchet, {verified_count} verificeret, {not_matched_count} ikke matchet af {len(economic_customers)} totalt")
nye matchet, {verified_count} verificeret, {not_matched_count} ikke matchet af {len(economic_customers)} totalt")
return { return {
"status": "success", "status": "success",
"matched": matched_count, "matched": matched_count,
"verified": verifiot_matched_count, "verified": verified_count,
"not_matched": not_matched_count,
"total_processed": len(economic_customers) "total_processed": len(economic_customers)
} }