Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -1703,6 +1703,8 @@ public class swiftApi { | ... | @@ -1703,6 +1703,8 @@ public class swiftApi { |
1703 | }) | 1703 | }) |
1704 | 1704 | ||
1705 | func parseCampaigns() -> Array<CampaignItemModel> { | 1705 | func parseCampaigns() -> Array<CampaignItemModel> { |
1706 | + campaignsArray = campaignsArray.filter { $0._coupon_availability != 0 } | ||
1707 | + | ||
1706 | swiftApi().setUniqueCampaignList(campaignsArray) | 1708 | swiftApi().setUniqueCampaignList(campaignsArray) |
1707 | 1709 | ||
1708 | carouselArray = campaignsArray.filter { | 1710 | carouselArray = campaignsArray.filter { | ... | ... |
-
Please register or login to post a comment