8524-devToTest #3415

Merged
alexm merged 343 commits from 8524-devToTest into test 2025-02-04 13:42:16 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 2ee5ba908a - Show all commits

View File

@ -33,7 +33,7 @@ module.exports = Self => {
try { try {
await Self.rawSql('CALL vn.entry_transfer(?, @vNewEntry)', [id], myOptions); await Self.rawSql('CALL vn.entry_transfer(?, @vNewEntry)', [id], myOptions);
const newEntryFk = await Self.rawSql('SELECT @vNewEntry newEntryFk', null, myOptions); const [newEntryFk] = await Self.rawSql('SELECT @vNewEntry newEntryFk', null, myOptions);
if (tx) await tx.commit(); if (tx) await tx.commit();
return newEntryFk; return newEntryFk;