sftp.rebuild does not need options anymore

This commit is contained in:
Johannes Zellner
2020-08-19 19:08:12 +02:00
parent ec5129d25b
commit 4f9cb9a8a1
2 changed files with 3 additions and 11 deletions

View File

@@ -77,7 +77,7 @@ function scheduleTask(appId, taskId, callback) {
locker.unlock(locker.OP_APPTASK); // unlock event will trigger next task
// post app task hooks
sftp.rebuild({}, function (error) {
sftp.rebuild(function (error) {
if (error) console.error('Unable to rebuild sftp:', error);
});
});