diff --git a/GMERemittance/AppDelegate.swift b/GMERemittance/AppDelegate.swift index 8b65df69..4103ca06 100644 --- a/GMERemittance/AppDelegate.swift +++ b/GMERemittance/AppDelegate.swift @@ -240,7 +240,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD if (UserDefaults.standard.object(forKey: "com.gmeremit.loginStatus") as! Bool) { - guard (UserDefaults.standard.object(forKey: UserKeys.kyc) as! Bool) == true else { + guard (UserDefaults.standard.object(forKey: UserKeys.kyc) as? Bool) ?? false == true else { let storyboard = UIStoryboard.init(name: "Main", bundle: Bundle.main) if let KYCPersonalInfoViewController = storyboard.instantiateViewController(withIdentifier: "KYCPersonalInfoViewController") as? KYCPersonalInfoViewController { diff --git a/GMERemittance/Module/SendMoneyVerification/Application Logic/Interactor/SendMoneyVerificationInteractor.swift b/GMERemittance/Module/SendMoneyVerification/Application Logic/Interactor/SendMoneyVerificationInteractor.swift index 06fea4b6..fd066af1 100644 --- a/GMERemittance/Module/SendMoneyVerification/Application Logic/Interactor/SendMoneyVerificationInteractor.swift +++ b/GMERemittance/Module/SendMoneyVerification/Application Logic/Interactor/SendMoneyVerificationInteractor.swift @@ -56,7 +56,7 @@ extension SendMoneyVerificationInteractor: SendMoneyVerificationInteractorInput "pAgent": model.bank?.id ?? "", "payOutPartner": model.paymemtMode?.payoutPartner ?? "", - "paymentType": "wallet", + "paymentType": "Wallet", "pCurr": model.exchangeRateDetail?.reciepientCurrency ?? "", "collCurr": "KRW",