Skip to content

Commit

Permalink
Remove two more DeprecatedAPI methods that are no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenmemon committed Mar 6, 2023
1 parent 2c23614 commit 97f2706
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
1 change: 0 additions & 1 deletion src/libs/Network/enhanceParameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ function isAuthTokenRequired(command) {
'Authenticate',
'BeginSignIn',
'SetPassword',
'ResendValidateCode',
], command);
}

Expand Down
25 changes: 0 additions & 25 deletions src/libs/deprecatedAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -81,8 +58,6 @@ function User_SecondaryLogin_Send(parameters) {

export {
Get,
PersonalDetails_Update,
ResendValidateCode,
SetNameValuePair,
User_SecondaryLogin_Send,
};

0 comments on commit 97f2706

Please sign in to comment.