                     YonaConstants.jsonKeys.bodyCode: code
                 ]
 
-            APIServiceManager.sharedInstance.confirmMobileNumber(body) { success, message, code in
+            APIServiceManager.sharedInstance.confirmMobileNumber(body) { success, message, serverCode in
                 dispatch_async(dispatch_get_main_queue()) {
                     if (success) {
                         codeInputView.resignFirstResponder()

                } else {
                    //pin reset verify code is wrong
                    dispatch_async(dispatch_get_main_queue()) {
                        self.checkCodeMessageShowAlert(code, codeInputView: codeInputView)
                        codeInputView.clear()

                    }

                    }
                })
            } else {
                self.displayAlertMessage("", alertDescription: serverMessage)
            }
        }
    }
