Added ids to ...FromID functions (how did this work before??)

This commit is contained in:
bytedream 2022-03-15 13:41:39 +01:00
parent aa1d72868b
commit 3ee5f7a538
4 changed files with 5 additions and 0 deletions

View file

@ -61,6 +61,7 @@ func SeasonFromID(crunchy *Crunchyroll, id string) (*Season, error) {
season := &Season{
crunchy: crunchy,
ID: id,
}
if err := decodeMapToStruct(jsonBody, season); err != nil {
return nil, err