Skip to content

Commit

Permalink
feat(communication-lang): pass es-419 instead of es-la to endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jjBlockchain committed May 20, 2022
1 parent 8ded80c commit af0f490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blockchain-wallet-v4/src/redux/settings/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default ({ api }) => {
const sharedKey = yield select(wS.getSharedKey)
const response = yield all([
call(api.updateLanguage, guid, sharedKey, language),
call(api.updateCommunicationLanguage, language)
call(api.updateCommunicationLanguage, toLower(language) === 'es-la' ? 'es-419' : language)
])
if (!contains('successfully', toLower(response))) {
throw new Error(response)
Expand Down

0 comments on commit af0f490

Please sign in to comment.