Manos Chorianopoulos

fix constructCcmsUrl func

......@@ -1519,7 +1519,7 @@ public class swiftApi {
return finalUrl
}
public func constructCcmsUrl(_ sessionId: String, _ campaign: LoyaltyContextualOfferModel) -> String {
public func constructCcmsUrl(_ campaign: LoyaltyContextualOfferModel) -> String {
for item in GlobalVariables.campaigns {
if (item.loyaltyCampaignId == campaign._loyaltyCampaignId) {
print("CCMS_PRESSED" + " " + campaign._id + " " + campaign._offerName)
......@@ -1535,7 +1535,7 @@ public class swiftApi {
+ "&refresh_token=" + (campaignInfo?["refresh_token"] as! String)
+ "&client_id=" + (campaignInfo?["client_id"] as! String)
+ "&client_secret=" + (campaignInfo?["client_secret"] as! String)
+ "&Session_ID=" + sessionId // (campaign._sessionId)
+ "&Session_ID=" + (campaign._sessionId)
+ "&businessService=" + (campaign._businessService)
+ "&offerName=" + (campaign._offerName)
+ "&productType=" + (campaign._productType)
......