remove console.log

This commit is contained in:
William Buezas 2024-09-12 08:14:32 -03:00
parent e76e4e4f8c
commit 3c71c71df1
1 changed files with 0 additions and 4 deletions
src/stores

View File

@ -24,8 +24,6 @@ export const tpvStore = defineStore('tpv', {
}, },
async pay(amount, company) { async pay(amount, company) {
console.log('pay amount', amount);
console.log('pay company', company);
await this.realPay(amount * 100, company); await this.realPay(amount * 100, company);
}, },
@ -41,8 +39,6 @@ export const tpvStore = defineStore('tpv', {
}, },
async realPay(amount, company) { async realPay(amount, company) {
console.log('realPay amount', amount);
console.log('realPay company', company);
if (!isNumeric(amount) || amount <= 0) { if (!isNumeric(amount) || amount <= 0) {
throw new Error('payAmountError'); throw new Error('payAmountError');
} }