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:
parent
8b71524437
commit
c5ce819a15
@ -377,13 +377,13 @@ async def sync_from_economic() -> Dict[str, Any]:
|
||||
else:
|
||||
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")
|
||||
nye matchet, {verified_count} verificeret, {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")
|
||||
|
||||
return {
|
||||
"status": "success",
|
||||
"matched": matched_count,
|
||||
"verified": verifiot_matched_count,
|
||||
"verified": verified_count,
|
||||
"not_matched": not_matched_count,
|
||||
"total_processed": len(economic_customers)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user