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
|
|
@ -56,6 +56,7 @@ func MovieListingFromID(crunchy *Crunchyroll, id string) (*MovieListing, error)
|
|||
|
||||
movieListing := &MovieListing{
|
||||
crunchy: crunchy,
|
||||
ID: id,
|
||||
}
|
||||
if err = decodeMapToStruct(jsonBody, movieListing); err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue