KamoCRM

CreatePair is idempotent for the primary pair (stops duplicate BorrowerPairs)

Fixkamo-shared-library
Ya
6 Julai 2026, 16:50 UTC
Mwandishi
Kamo
Ahadi ya
7a2bc64

createPair's sole caller is the wizard's 'ensure primary borrower', but it unconditionally inserted a new pair every call, so a concurrent autosave + explicit Save (both seeing an empty client cache) each POSTed and minted a duplicate BorrowerPair — a phantom co-applicant corrupting the URLA. If the app already has a pair, return the primary one instead.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei