From ae3196fd2563caa28b83f77579a7aa36aab83dd6 Mon Sep 17 00:00:00 2001 From: Andres Date: Fri, 19 Apr 2024 12:46:39 +0200 Subject: [PATCH] chore: add description to episode dto --- src/services/podcasts/dto/episode.dto.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/services/podcasts/dto/episode.dto.ts b/src/services/podcasts/dto/episode.dto.ts index e5d2e3b..95ea58d 100644 --- a/src/services/podcasts/dto/episode.dto.ts +++ b/src/services/podcasts/dto/episode.dto.ts @@ -6,6 +6,7 @@ export class EpisodeDto { audioUrl: string; title: string; durationSeconds: number; + description: string; constructor(episode: Episode) { this.id = episode.trackId; @@ -13,5 +14,6 @@ export class EpisodeDto { this.releaseDate = episode.releaseDate; this.audioUrl = episode.episodeUrl; this.durationSeconds = episode.trackTimeMillis / 1000; + this.description = episode.description; } }