#2913, #2914 - Changes to sales monitors #624

Merged
carlosjr merged 5 commits from 2913-monitor_changes into dev 2021-05-18 08:29:32 +00:00
1 changed files with 0 additions and 5 deletions
Showing only changes of commit 5d278f416f - Show all commits

View File

@ -27,11 +27,6 @@ module.exports = Self => {
if (typeof options == 'object') if (typeof options == 'object')
Object.assign(myOptions, options); Object.assign(myOptions, options);
if (!myOptions.transaction) {
tx = await Self.beginTransaction({});
myOptions.transaction = tx;
}
try { try {
const deleted = models.Order.destroyAll({ const deleted = models.Order.destroyAll({
id: {inq: deletes} id: {inq: deletes}