mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
fix: campaigns/partners filter 422 — limit=200 exceeds backend max (100)
This commit is contained in:
@@ -1574,11 +1574,11 @@ export default function AdminBulkActions() {
|
|||||||
.then((d) => setPromoGroups(d.items))
|
.then((d) => setPromoGroups(d.items))
|
||||||
.catch(() => {});
|
.catch(() => {});
|
||||||
campaignsApi
|
campaignsApi
|
||||||
.getCampaigns(true, 0, 200)
|
.getCampaigns(true, 0, 100)
|
||||||
.then((d) => setCampaigns(d.campaigns))
|
.then((d) => setCampaigns(d.campaigns))
|
||||||
.catch(() => {});
|
.catch(() => {});
|
||||||
partnerApi
|
partnerApi
|
||||||
.getPartners({ limit: 200 })
|
.getPartners({ limit: 100 })
|
||||||
.then((d) => setPartners(d.items))
|
.then((d) => setPartners(d.items))
|
||||||
.catch(() => {});
|
.catch(() => {});
|
||||||
}, []);
|
}, []);
|
||||||
|
|||||||
Reference in New Issue
Block a user