Removed transaction block
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
bf250b77ef
commit
5d278f416f
|
@ -27,11 +27,6 @@ module.exports = Self => {
|
|||
if (typeof options == 'object')
|
||||
Object.assign(myOptions, options);
|
||||
|
||||
if (!myOptions.transaction) {
|
||||
tx = await Self.beginTransaction({});
|
||||
myOptions.transaction = tx;
|
||||
}
|
||||
|
||||
try {
|
||||
const deleted = models.Order.destroyAll({
|
||||
id: {inq: deletes}
|
||||
|
|
Loading…
Reference in New Issue