You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// // BiometricSwitchService.swift // GME Remit // // Created by Swift Tech on 20/10/2021. //Copyright © 2021 Gobal Money Express Co. Ltd. All rights reserved. //
import Foundation
class BiometricSwitchService: BiometricSwitchServiceType { func makeApiRequest( success: @escaping (String?) -> Void, failure: @escaping (Error) -> Void ){ // APIRouter //// .requestOTP(mobileNumber: mobile) // .request( // needsAuthorization: false, // success: {(response: ResponseMessage) in // if (response.errorCode ?? "") == "1" { // let error = NSError(domain: "Network", code: 0, message: response.message ?? "") // failure(error) // } else { // success(response.message ?? "") // } // }, // failure: {failure($0)} // ) } }
|