Skip to content

Commit

Permalink
Merge pull request #10293 from Expensify/beaman-cleanupOldParam
Browse files Browse the repository at this point in the history
Delete old unused `UpdateProfile` param
  • Loading branch information
jasperhuangg authored Aug 10, 2022
2 parents 972b835 + c43c275 commit 521102a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libs/actions/PersonalDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,6 @@ function setPersonalDetails(details, shouldGrowl) {
function updateProfile(firstName, lastName, pronouns, timezone) {
const myPersonalDetails = personalDetails[currentUserEmail];
API.write('UpdateProfile', {
// 'details' is an old param that will be removed in https://github.com/Expensify/Expensify/issues/220321
details: JSON.stringify({firstName, lastName, pronouns}),
firstName,
lastName,
pronouns,
Expand Down

0 comments on commit 521102a

Please sign in to comment.