Skip to content

Commit

Permalink
async await
Browse files Browse the repository at this point in the history
  • Loading branch information
robinp7720 committed Nov 6, 2023
1 parent 01a885b commit d4e30af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/seedbox/SeedboxController.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default class SeedboxController {

this.importQueue = new Queue(oblecto.config.seedboxImport.concurrency);

this.importQueue.registerJob('importMovie', job => this.importMovie(job.seedbox, job.origin, job.destination));
this.importQueue.registerJob('importEpisode', job => this.importEpisode(job.seedbox, job.origin, job.destination));
this.importQueue.registerJob('importMovie', async job => await this.importMovie(job.seedbox, job.origin, job.destination));
this.importQueue.registerJob('importEpisode', async job => await this.importEpisode(job.seedbox, job.origin, job.destination));
}

async loadAllSeedboxes() {
Expand Down

0 comments on commit d4e30af

Please sign in to comment.