KamoCRM

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 kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei