We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef75e5 commit fb70251Copy full SHA for fb70251
src/backend/src/routers/filesystem_api/batch/all.js
@@ -147,16 +147,14 @@ module.exports = eggspress('/batch', {
147
if ( ! operation_requires_file(op_spec) ) {
148
indexes_to_remove.push(i);
149
log.info(`executing ${op_spec.op}`);
150
- response_promises.push(
151
- batch_exe.exec_op(req, op_spec)
152
- );
+ response_promises[i] = batch_exe.exec_op(req, op_spec);
+ } else {
153
}
154
155
156
for ( let i=indexes_to_remove.length-1 ; i >= 0 ; i-- ) {
157
const index = indexes_to_remove[i];
158
pending_operations.splice(index, 1)[0];
159
- response_promises.splice(index, 1);
160
161
});
162
0 commit comments