Skip to content

Commit

Permalink
'const' restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
respinha committed Mar 16, 2018
1 parent 8b11efd commit 3fc6d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -958,7 +958,7 @@ Queue.prototype.schedule = function (when, job, done) {
function saveUniqueJob(job, next) {
// if a unique name is specified, save it with the job details
if (job.data && job.data.unique) {
const jobDataKey = this._getJobDataKey(job.data.unique);
let jobDataKey = this._getJobDataKey(job.data.unique);
this._saveJobData(jobDataKey, job, function (error) {
next(error, job);
});
Expand Down

0 comments on commit 3fc6d4c

Please sign in to comment.