Manos Chorianopoulos

comment getSingleCampaignAsyncRequest

......@@ -7,7 +7,7 @@
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
</dict>
......
......@@ -7,7 +7,7 @@
<key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
......
......@@ -173,9 +173,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
vc.ccms = campaigns[indexPath.row]._ccms
self.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = campaigns[indexPath.row].session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = campaigns[indexPath.row].session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
} else if (campaigns[indexPath.row]._type != nil && campaigns[indexPath.row]._type == "telco") {
let ccmsCampaigns = swiftApi().getCCMSLoyaltyCampaigns()
......@@ -190,9 +190,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
vc.campaign = campaigns[indexPath.row]
self.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = campaigns[indexPath.row].session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = campaigns[indexPath.row].session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
break;
}
}
......@@ -225,9 +225,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
self.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = campaigns[indexPath.row].session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = campaigns[indexPath.row].session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
break;
}
......@@ -284,9 +284,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
vc.params = params
self.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = campaigns[indexPath.row].session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = campaigns[indexPath.row].session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
} else {
let seasonalEvent = swiftApi.LoyaltyGiftsForYouOfferClickEvent()
......
......@@ -115,9 +115,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
vc.ccms = campaigns[indexPath.row]._ccms
self.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = campaigns[indexPath.row].session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = campaigns[indexPath.row].session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
} else if (campaigns[indexPath.row]._type != nil && campaigns[indexPath.row]._type == "telco") {
let ccmsCampaigns = swiftApi().getCCMSLoyaltyCampaigns()
......@@ -132,9 +132,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
vc.campaign = campaigns[indexPath.row]
self.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = campaigns[indexPath.row].session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = campaigns[indexPath.row].session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
}
}
}
......@@ -166,9 +166,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
self.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = campaigns[indexPath.row].session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = campaigns[indexPath.row].session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
break;
}
......@@ -231,9 +231,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
vc.params = params
self.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = campaigns[indexPath.row].session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = campaigns[indexPath.row].session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
}
}
......
......@@ -4921,9 +4921,9 @@ public class swiftApi {
vc.campaign = campaign
controller.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = campaign.session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = campaign.session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
break;
}
......@@ -4938,9 +4938,9 @@ public class swiftApi {
vc.params = swiftApi().constructCampaignParams(campaign)
controller.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = campaign.session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = campaign.session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
}
func getSingleCampaignAsyncRequest(sessionUuid: String) {
......@@ -4983,9 +4983,9 @@ public class swiftApi {
vc.params = swiftApi().constructCcmsParams(loyaltyCampaign, ccms)
controller.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = loyaltyCampaign.session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = loyaltyCampaign.session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
break;
} else if (isTelco && (loyaltyCampaign.session_uuid == ccms._loyaltyCampaignId)) {
......@@ -4996,9 +4996,9 @@ public class swiftApi {
vc.campaign = loyaltyCampaign
controller.navigationController?.pushViewController(vc, animated: true)
if let sessionUuid = loyaltyCampaign.session_uuid {
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
}
// if let sessionUuid = loyaltyCampaign.session_uuid {
// getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
// }
break;
}
......