Fix sonar, lint and bug issues

This commit is contained in:
RcleydsonR
2023-01-27 19:47:52 -03:00
parent db2d15b318
commit 807bceac26
6 changed files with 215 additions and 10 deletions

View File

@@ -43,11 +43,11 @@ const validatePix = async (): Promise<void> => {
isCodeInputEmpty.value = true;
return;
}
var sellerPixKey = props.pixTarget;
var transactionValue = props.tokenValue;
const sellerPixKey = props.pixTarget;
const transactionValue = props.tokenValue;
if (sellerPixKey && transactionValue) {
var body_req = {
const body_req = {
e2e_id: e2eId.value,
pix_key: sellerPixKey,
pix_value: transactionValue,