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

This commit is contained in:
Robert Ferrús 2024-11-28 08:17:32 +01:00
parent 4b474834cf
commit be394cec28
1 changed files with 1 additions and 1 deletions

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 AS newEntryFk', [], myOptions); const newEntryFk = await Self.rawSql('SELECT @vNewEntry newEntryFk', [], myOptions);
if (tx) await tx.commit(); if (tx) await tx.commit();
return newEntryFk; return newEntryFk;