diff --git a/GMERemittance/Library/WebLinks/WkWebView/WkWebViewController.swift b/GMERemittance/Library/WebLinks/WkWebView/WkWebViewController.swift index 09d0794f..9503ffdf 100644 --- a/GMERemittance/Library/WebLinks/WkWebView/WkWebViewController.swift +++ b/GMERemittance/Library/WebLinks/WkWebView/WkWebViewController.swift @@ -39,7 +39,7 @@ class WkWebViewController: UIViewController { let headers = self.headers ?? [] - + print(self.url) if let myURL = URL(string: self.url ?? "") { var myRequest = URLRequest(url: myURL) diff --git a/GMERemittance/Module/AutoDebit/User Interface/View/AutoDebitViewController.swift b/GMERemittance/Module/AutoDebit/User Interface/View/AutoDebitViewController.swift index 07b857b7..ddff1b1a 100644 --- a/GMERemittance/Module/AutoDebit/User Interface/View/AutoDebitViewController.swift +++ b/GMERemittance/Module/AutoDebit/User Interface/View/AutoDebitViewController.swift @@ -73,6 +73,7 @@ class AutoDebitViewController: UIViewController { private func openWkWebViewWith(url: String) { let viewcontroller = UIStoryboard.init(name: "WKWebView", bundle: nil).instantiateViewController(withIdentifier: "WkWebViewController") as! WkWebViewController viewcontroller.url = url + viewcontroller.headers = self.header let nvc = UINavigationController.init(rootViewController: viewcontroller) self.present(nvc, animated: true, completion: nil) } diff --git a/GMERemittance/RestApiManager.swift b/GMERemittance/RestApiManager.swift index 6eb14d66..be4a324b 100644 --- a/GMERemittance/RestApiManager.swift +++ b/GMERemittance/RestApiManager.swift @@ -65,7 +65,9 @@ class RestApiMananger { return [ "Authorization": "Bearer " + accessCode, "GME-TOKEN" : "39587YT398@FBQOW8RY3#948R7GB@CNEQW987GF87$TD18$1981..919@@##joghndvberteiru", - "Content-Type": "application/json"] + "Content-Type": "application/json", + "clientId": Utility.getMyId() + ] }