mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43: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))
|
||||
.catch(() => {});
|
||||
campaignsApi
|
||||
.getCampaigns(true, 0, 200)
|
||||
.getCampaigns(true, 0, 100)
|
||||
.then((d) => setCampaigns(d.campaigns))
|
||||
.catch(() => {});
|
||||
partnerApi
|
||||
.getPartners({ limit: 200 })
|
||||
.getPartners({ limit: 100 })
|
||||
.then((d) => setPartners(d.items))
|
||||
.catch(() => {});
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user