Skip to content

Commit 154e37f

Browse files
authored
eslint
1 parent d9bb05e commit 154e37f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

api/utils/taskmanager.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -960,13 +960,9 @@ taskmanager.stopTask = function(options, callback) {
960960

961961
/**
962962
* Stop task
963-
* @param {object} op_id - operation id for mongo process
964-
* @param {object} options1.db - database connection
965-
* @param {string} options1.id - id of the task result
966-
* @param {object} reqData - request data
967963
* @param {funciton} callback1 - callback for the result
968964
*/
969-
function stopTask(op_id) {
965+
function stopTask() {
970966
callback(null, "Operation could not be stopped");
971967
}
972968

@@ -1032,4 +1028,4 @@ function getResult(callback, options) {
10321028
}
10331029
};
10341030
}
1035-
module.exports = taskmanager;
1031+
module.exports = taskmanager;

0 commit comments

Comments
 (0)