@obb871001/api-integration-sdk 1.0.127 → 1.0.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28456,14 +28456,14 @@ const Ft = /* @__PURE__ */ ot(wt), K = {
|
|
|
28456
28456
|
queryKey: ["getCarouselList"],
|
|
28457
28457
|
queryFn: async () => await i(),
|
|
28458
28458
|
select: (n) => {
|
|
28459
|
-
const { data: r } = n
|
|
28459
|
+
const { data: r } = n;
|
|
28460
|
+
return r.map((f) => {
|
|
28460
28461
|
const { carousels_lang: _ } = f;
|
|
28461
28462
|
return {
|
|
28462
28463
|
...f,
|
|
28463
|
-
carousel_current_language: _
|
|
28464
|
+
carousel_current_language: _?.find((p) => p.lang === m) || {}
|
|
28464
28465
|
};
|
|
28465
28466
|
});
|
|
28466
|
-
return console.log(u), u;
|
|
28467
28467
|
}
|
|
28468
28468
|
});
|
|
28469
28469
|
}, Tl = () => {
|