Manos Chorianopoulos

fix async ccms v2

......@@ -38,7 +38,7 @@ import SwiftEventBus
tableView.delegate = self
tableView.dataSource = self
SwiftEventBus.onBackgroundThread(self, name: "ccms_retrieved") { result in
SwiftEventBus.onMainThread(self, name: "ccms_retrieved") { result in
print("===== SwiftEventBus ccms_retrieved =====")
self.campaigns = swiftApi().mergeGFYCCMSLoyaltyCampaigns(campaigns: swiftApi().getCCMSLoyaltyCampaigns())
self.tableView.reloadData()
......
......@@ -27,7 +27,7 @@ import SwiftEventBus
tableView.delegate = self
tableView.dataSource = self
SwiftEventBus.onBackgroundThread(self, name: "ccms_retrieved") { result in
SwiftEventBus.onMainThread(self, name: "ccms_retrieved") { result in
print("===== SwiftEventBus ccms_retrieved =====")
self.campaigns = swiftApi().mergeGFYCCMSLoyaltyCampaigns(campaigns: swiftApi().getCCMSLoyaltyCampaigns())
self.tableView.reloadData()
......