badmfck-api-server 2.2.3 → 2.2.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -134,7 +134,7 @@ class MysqlService extends BaseService_1.BaseService {
|
|
134
134
|
const promises = [];
|
135
135
|
for (let i of data) {
|
136
136
|
const query = MysqlService.prepareQuery(i.query, i.fields);
|
137
|
-
promises.push(this.execute(query, i.rollbackQuery ?? null, i.transactionID));
|
137
|
+
promises.push(this.execute(query, i.rollbackQuery ?? null, i.transactionID ?? 0));
|
138
138
|
}
|
139
139
|
return await Promise.all(promises);
|
140
140
|
};
|