Unwrap {markets:[...]} envelope in Attach dialog

Fixkamo-internal
Ya
24 Aprili 2026, 00:43 UTC
Mwandishi
kamo
Ahadi ya
de88ff2

GET /api/security/commerce-markets returns { markets: [...], message: "..." }, not a bare array. The Attach Commerce Market dialog was treating the whole response as an array and blowing up with 'a.filter is not a function' (and then falsely reporting "No unattached Subscription markets available"). Read data.markets with an Array.isArray fallback so either shape works.

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