Skip to content

Commit

Permalink
solve wrong message when updating profile (binary-com#7338)
Browse files Browse the repository at this point in the history
Co-authored-by: Matin shafiei <[email protected]>
  • Loading branch information
suisin-deriv and matin-deriv authored Feb 8, 2023
1 parent 19b3dd8 commit bd4e2ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ const PersonalDetails = (() => {

const setDetailsResponse = (response) => {
// allow user to resubmit the form on error.
const is_error = response.set_settings !== 1;
const is_error = response.error;
if (!is_error) {
// to update tax information message for financial clients
BinarySocket.send({ get_account_status: 1 }, { forced: true }).then(() => {
Expand Down

0 comments on commit bd4e2ab

Please sign in to comment.