Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -1519,7 +1519,7 @@ public class swiftApi { | ... | @@ -1519,7 +1519,7 @@ public class swiftApi { |
1519 | return finalUrl | 1519 | return finalUrl |
1520 | } | 1520 | } |
1521 | 1521 | ||
1522 | - public func constructCcmsUrl(_ sessionId: String, _ campaign: LoyaltyContextualOfferModel) -> String { | 1522 | + public func constructCcmsUrl(_ campaign: LoyaltyContextualOfferModel) -> String { |
1523 | for item in GlobalVariables.campaigns { | 1523 | for item in GlobalVariables.campaigns { |
1524 | if (item.loyaltyCampaignId == campaign._loyaltyCampaignId) { | 1524 | if (item.loyaltyCampaignId == campaign._loyaltyCampaignId) { |
1525 | print("CCMS_PRESSED" + " " + campaign._id + " " + campaign._offerName) | 1525 | print("CCMS_PRESSED" + " " + campaign._id + " " + campaign._offerName) |
... | @@ -1535,7 +1535,7 @@ public class swiftApi { | ... | @@ -1535,7 +1535,7 @@ public class swiftApi { |
1535 | + "&refresh_token=" + (campaignInfo?["refresh_token"] as! String) | 1535 | + "&refresh_token=" + (campaignInfo?["refresh_token"] as! String) |
1536 | + "&client_id=" + (campaignInfo?["client_id"] as! String) | 1536 | + "&client_id=" + (campaignInfo?["client_id"] as! String) |
1537 | + "&client_secret=" + (campaignInfo?["client_secret"] as! String) | 1537 | + "&client_secret=" + (campaignInfo?["client_secret"] as! String) |
1538 | - + "&Session_ID=" + sessionId // (campaign._sessionId) | 1538 | + + "&Session_ID=" + (campaign._sessionId) |
1539 | + "&businessService=" + (campaign._businessService) | 1539 | + "&businessService=" + (campaign._businessService) |
1540 | + "&offerName=" + (campaign._offerName) | 1540 | + "&offerName=" + (campaign._offerName) |
1541 | + "&productType=" + (campaign._productType) | 1541 | + "&productType=" + (campaign._productType) | ... | ... |
-
Please register or login to post a comment