Skip to content

Commit 0e76bd6

Browse files
Josias MontagJosias Montag
authored andcommitted
Correct available events
1 parent 81a8559 commit 0e76bd6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,14 @@ The node SDK can subscribe to events of the [CloudConvert socket.io API](https:/
106106
const job = await cloudConvert.jobs.create({ ... });
107107

108108
// Events for the job
109-
// Available events: created, updated, finished, error, deleted
109+
// Available events: created, updated, finished, failed
110110
cloudConvert.jobs.subscribeEvent(job.id, 'finished', event => {
111111
// Job has finished
112112
console.log(event.job);
113113
});
114114

115115
// Events for all tasks of the job
116-
// Available events: created, updated, finished, error, deleted
116+
// Available events: created, updated, finished, failed
117117
cloudConvert.jobs.subscribeTaskEvent(job.id, 'finished', event => {
118118
// Task has finished
119119
console.log(event.task);

0 commit comments

Comments
 (0)