diff --git a/src/libs/Network/enhanceParameters.js b/src/libs/Network/enhanceParameters.js index 11c58a7e8152..2a2f981db718 100644 --- a/src/libs/Network/enhanceParameters.js +++ b/src/libs/Network/enhanceParameters.js @@ -16,7 +16,6 @@ function isAuthTokenRequired(command) { 'Authenticate', 'BeginSignIn', 'SetPassword', - 'ResendValidateCode', ], command); } diff --git a/src/libs/deprecatedAPI.js b/src/libs/deprecatedAPI.js index 64e1a6c92725..0af35bb404f5 100644 --- a/src/libs/deprecatedAPI.js +++ b/src/libs/deprecatedAPI.js @@ -32,29 +32,6 @@ function Get(parameters, shouldUseSecure = false) { return Network.post(commandName, parameters, CONST.NETWORK.METHOD.POST, shouldUseSecure); } -/** - * @param {Object} parameters - * @param {Object} parameters.details - * @returns {Promise} - */ -function PersonalDetails_Update(parameters) { - const commandName = 'PersonalDetails_Update'; - requireParameters(['details'], - parameters, commandName); - return Network.post(commandName, parameters); -} - -/** - * @param {Object} parameters - * @param {String} parameters.email - * @returns {Promise} - */ -function ResendValidateCode(parameters) { - const commandName = 'ResendValidateCode'; - requireParameters(['email'], parameters, commandName); - return Network.post(commandName, parameters); -} - /** * @param {Object} parameters * @param {String} parameters.name @@ -81,8 +58,6 @@ function User_SecondaryLogin_Send(parameters) { export { Get, - PersonalDetails_Update, - ResendValidateCode, SetNameValuePair, User_SecondaryLogin_Send, };