Skip to content

Commit f91352d

Browse files
committed
Renamed references of token to id.
1 parent 6d8cd50 commit f91352d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ Called after a job has been queued using the `Resque::enqueue` method. Arguments
384384
* Class - string containing the name of scheduled job
385385
* Arguments - array of arguments supplied to the job
386386
* Queue - string containing the name of the queue the job was added to
387-
* Token - string containing the new token of the enqueued job
387+
* Id - string containing the new token of the enqueued job
388388

389389
## Contributors ##
390390

lib/Resque.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public static function enqueue($queue, $class, $args = null, $trackStatus = fals
189189
'class' => $class,
190190
'args' => $args,
191191
'queue' => $queue,
192-
'token' => $result,
192+
'id' => $result,
193193
));
194194
}
195195

0 commit comments

Comments
 (0)