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 moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei