diff --git a/README.md b/README.md index e247c21..662c970 100644 --- a/README.md +++ b/README.md @@ -384,7 +384,7 @@ Called after a job has been queued using the `Resque::enqueue` method. Arguments * Class - string containing the name of scheduled job * Arguments - array of arguments supplied to the job * Queue - string containing the name of the queue the job was added to -* Token - string containing the new token of the enqueued job +* Id - string containing the new token of the enqueued job ## Contributors ## diff --git a/lib/Resque.php b/lib/Resque.php index 1bba5da..2b47084 100644 --- a/lib/Resque.php +++ b/lib/Resque.php @@ -189,7 +189,7 @@ class Resque 'class' => $class, 'args' => $args, 'queue' => $queue, - 'token' => $result, + 'id' => $result, )); }