Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -70,6 +70,8 @@ public class swiftApi { | ... | @@ -70,6 +70,8 @@ public class swiftApi { |
70 | public func setCCMSLoyaltyCampaigns(campaigns: Array<LoyaltyContextualOfferModel>) { | 70 | public func setCCMSLoyaltyCampaigns(campaigns: Array<LoyaltyContextualOfferModel>) { |
71 | let ccmsCampaign: Array<LoyaltyContextualOfferModel> = campaigns | 71 | let ccmsCampaign: Array<LoyaltyContextualOfferModel> = campaigns |
72 | 72 | ||
73 | + GlobalVariables.ccmsCampaigns = campaigns | ||
74 | + | ||
73 | let mergedGFYCampaigns = GlobalVariables.campaigns.filter { | 75 | let mergedGFYCampaigns = GlobalVariables.campaigns.filter { |
74 | let tempCampaign = $0 | 76 | let tempCampaign = $0 |
75 | let isGFY = tempCampaign.offer_category == "gifts_for_you" | 77 | let isGFY = tempCampaign.offer_category == "gifts_for_you" | ... | ... |
-
Please register or login to post a comment