From 22e42b17430b6510481a17feee68905ba9c943a2 Mon Sep 17 00:00:00 2001 From: gme_2 Date: Wed, 3 Oct 2018 13:10:17 +0900 Subject: [PATCH] changed refresh url --- .../Home/Application Logic/Service/HomeServiceType.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GMERemittance/Module/Home/Application Logic/Service/HomeServiceType.swift b/GMERemittance/Module/Home/Application Logic/Service/HomeServiceType.swift index 5b05b237..1f6d2c57 100644 --- a/GMERemittance/Module/Home/Application Logic/Service/HomeServiceType.swift +++ b/GMERemittance/Module/Home/Application Logic/Service/HomeServiceType.swift @@ -19,7 +19,7 @@ protocol UserInfoService: ApiServiceType { extension UserInfoService { func fetchUserInfo(param: [String: String], success: @escaping (User) -> (), failure: @escaping (Error) -> ()) { - let url = baseUrl + "mobile/refreshcutomerinformation" + let url = baseUrl + "mobile/CustomerProfile" auth.request(method: .post, url: url, params: param, success: { (response: UserContainer ) in if (response.errorCode ?? "") == "1" { let error = NSError.init(domain: "Network", code: 0, userInfo: [NSLocalizedDescriptionKey : response.message ?? ""]) @@ -32,7 +32,6 @@ extension UserInfoService { failure(error) } - } }) { (error) in failure(error)