Skip to content

Commit

Permalink
refactor: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-rw committed Oct 7, 2024
1 parent 7a75bf4 commit ac424cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/clients/discord/discord.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ export class DiscordClientModule implements OnModuleDestroy {
this.discordVoiceService.disconnectGracefully();
}
}

4 changes: 3 additions & 1 deletion src/commands/play/play.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ export class PlayItemCommand {
return;
}

const tracks = await (await item.toTracks(this.jellyfinSearchService)).reverse();
const tracks = await (
await item.toTracks(this.jellyfinSearchService)
).reverse();
this.logger.debug(`Extracted ${tracks.length} tracks from the search item`);
const reducedDuration = tracks.reduce(
(sum, item) => sum + item.duration,
Expand Down

0 comments on commit ac424cb

Please sign in to comment.