@obb871001/api-integration-sdk 1.0.125 → 1.0.126
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 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28456,16 +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
|
|
28460
|
-
return r.map((f) => {
|
|
28459
|
+
const { data: r } = n, u = r.map((f) => {
|
|
28461
28460
|
const { carousels_lang: _ } = f;
|
|
28462
28461
|
return {
|
|
28463
28462
|
...f,
|
|
28464
|
-
carousel_current_language: _.find(
|
|
28465
|
-
(p) => p.lang === m || p.lang === "en_US"
|
|
28466
|
-
) || {}
|
|
28463
|
+
carousel_current_language: _.find((p) => p.lang === m) || {}
|
|
28467
28464
|
};
|
|
28468
28465
|
});
|
|
28466
|
+
return console.log(u), u;
|
|
28469
28467
|
}
|
|
28470
28468
|
});
|
|
28471
28469
|
}, Tl = () => {
|