Manos Chorianopoulos

setCCMSLoyaltyCampaigns fix

...@@ -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"
......