mirror of
https://github.com/ershisan99/podcaster.git
synced 2025-12-16 20:59:26 +00:00
chore: add description to episode dto
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user