Skip to content

Commit

Permalink
Clean and sanitaze code
Browse files Browse the repository at this point in the history
  • Loading branch information
lomamech committed Mar 4, 2024
1 parent a9628fc commit 3572923
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ function MultiPayrollIndiceParamModalController(Notify, MultiplePayroll, Instanc
Notify.success('FORM.INFO.OPERATION_SUCCESS');
return vm.close(true);
})
.catch((error) => {
if (error.status === 400) {
Notify.errorMessage(error.data.code);
return vm.close(true);
}
.catch((error) => {
if (error.status === 400) {
Notify.errorMessage(error.data.code);
return vm.close(true);
}

Notify.handleError(error);
});
Notify.handleError(error);
});
};

}

0 comments on commit 3572923

Please sign in to comment.