feat: refs #7134 change index
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Javier Segarra 2024-11-20 14:07:35 +01:00
parent aab595e9dd
commit aa2f9985cd
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ module.exports = Self => {
stmts.push(`DROP TEMPORARY TABLE tmp.supplierStatement`);
const sql = ParameterizedSQL.join(stmts, ';');
const results = await conn.executeStmt(sql);
const resultsIndex = stmts.length - 1;
const resultsIndex = stmts.length - 2;
const result = results[resultsIndex];
return result;
};