mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Added ids to ...FromID functions (how did this work before??)
This commit is contained in:
parent
aa1d72868b
commit
3ee5f7a538
4 changed files with 5 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ func EpisodeFromID(crunchy *Crunchyroll, id string) (*Episode, error) {
|
|||
|
||||
episode := &Episode{
|
||||
crunchy: crunchy,
|
||||
ID: id,
|
||||
}
|
||||
if err := decodeMapToStruct(jsonBody, episode); err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue