build: dump db #2775

Merged
alexm merged 6 commits from 7773-dump into master 2024-07-23 09:45:25 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit eb413af275 - Show all commits

View File

@ -26,7 +26,7 @@ module.exports = Self => {
`, [userId], myOptions);
// Por si entra en el SELECT FOR UPDATE y retorna un array más
const collectionFk = result[2][0]?.collectionFk || result[3][0]?.collectionFk;
const collectionFk = result[2]?.[0]?.collectionFk || result[3]?.[0]?.collectionFk;
if (!collectionFk) throw new UserError('There are not picking tickets');
await Self.rawSql('CALL vn.collection_printSticker(?, NULL)', [collectionFk], myOptions);