Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 1291c34

Browse files
committed
return season release group name
1 parent 4911c01 commit 1291c34

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/routes/shows.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ function constructShowFromDocument (doc: DocumentSnapshot, includeEpisodes: bool
4141
constructedShow.seasons = showData.seasons.map((season: StoredSeason): Season => {
4242
return {
4343
id: season.id,
44+
source: season.source,
4445
episodes: season.episodes.map((episode: StoredEpisode): Episode => {
4546

4647
const

src/typings/show.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export interface Show extends ShowHusk {
1616

1717
export interface Season {
1818
id: number;
19+
source: string;
1920
episodes: Episode[];
2021
}
2122

0 commit comments

Comments
 (0)