Skip to content

Commit f2d3a42

Browse files
committed
refactor: remove bad return types
1 parent e78c0c4 commit f2d3a42

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/JobsResource.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,19 @@ export default class JobsResource {
7676
id: string,
7777
event: string,
7878
callback: (event: JobEventData) => void
79-
): Promise<void> {
79+
) {
8080
this.cloudConvert.subscribe(
8181
`private-job.${id}`,
8282
`job.${event}`,
8383
callback
8484
);
8585
}
8686

87-
async subscribeTaskEvent(
87+
subscribeTaskEvent(
8888
id: string,
8989
event: string,
9090
callback: (event: TaskEventData) => void
91-
): Promise<void> {
91+
) {
9292
this.cloudConvert.subscribe(
9393
`private-job.${id}.tasks`,
9494
`task.${event}`,

0 commit comments

Comments
 (0)