Skip to content

Commit

Permalink
Merge pull request #1333 from stansv/develop
Browse files Browse the repository at this point in the history
docs: fixed global listener example
  • Loading branch information
manast committed Jun 3, 2019
2 parents 4d11352 + 43385dc commit c0ee6be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/README.md
Expand Up @@ -156,7 +156,7 @@ queue.on('completed', job => {
Whereas the global version of the event can be listen to with:

```js
queue.on('global: completed', jobId => {
queue.on('global:completed', jobId => {
console.log(`Job with id ${jobId} has been completed```);
)
})
Expand Down

0 comments on commit c0ee6be

Please sign in to comment.