Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove promises that are not used #8538

Merged
merged 11 commits into from
Apr 21, 2022
6 changes: 2 additions & 4 deletions src/libs/actions/User.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,18 +356,16 @@ function subscribeToExpensifyCardUpdates() {
* Sync preferredSkinTone with Onyx and Server
* @param {String} skinTone
*/

function setPreferredSkinTone(skinTone) {
return NameValuePair.set(CONST.NVP.PREFERRED_EMOJI_SKIN_TONE, skinTone, ONYXKEYS.PREFERRED_EMOJI_SKIN_TONE);
NameValuePair.set(CONST.NVP.PREFERRED_EMOJI_SKIN_TONE, skinTone, ONYXKEYS.PREFERRED_EMOJI_SKIN_TONE);
}

/**
* Sync frequentlyUsedEmojis with Onyx and Server
* @param {Object[]} frequentlyUsedEmojis
*/

function setFrequentlyUsedEmojis(frequentlyUsedEmojis) {
return NameValuePair.set(CONST.NVP.FREQUENTLY_USED_EMOJIS, frequentlyUsedEmojis, ONYXKEYS.FREQUENTLY_USED_EMOJIS);
NameValuePair.set(CONST.NVP.FREQUENTLY_USED_EMOJIS, frequentlyUsedEmojis, ONYXKEYS.FREQUENTLY_USED_EMOJIS);
}

/**
Expand Down