delete: throw error

This commit is contained in:
Vicent Llopis 2022-10-17 11:43:26 +02:00
parent e5fd6adfe5
commit dd10b79441
1 changed files with 0 additions and 2 deletions

View File

@ -68,8 +68,6 @@ module.exports = Self => {
fields: ['id', 'hasToInvoiceByAddress']
}, myOptions);
try {
throw new Error(`Pq lo digo yo`);
if (client.hasToInvoiceByAddress) {
await Self.rawSql('CALL ticketToInvoiceByAddress(?, ?, ?, ?)', [
args.minShipped,