Revert "make AnimeEpisode indexable for maps"
This reverts commit 7701a09a0d
.
This commit is contained in:
parent
7701a09a0d
commit
d3fc649dad
@ -3,6 +3,6 @@ package model
|
|||||||
import "git.milar.in/milarin/anilist"
|
import "git.milar.in/milarin/anilist"
|
||||||
|
|
||||||
type AnimeEpisode struct {
|
type AnimeEpisode struct {
|
||||||
Anime anilist.Media
|
Anime *anilist.Media
|
||||||
Episode int
|
Episode int
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,7 @@ func (f *ParsedFile) GetResolution() Resolution {
|
|||||||
|
|
||||||
func (f *ParsedFile) AnimeEpisode() AnimeEpisode {
|
func (f *ParsedFile) AnimeEpisode() AnimeEpisode {
|
||||||
return AnimeEpisode{
|
return AnimeEpisode{
|
||||||
Anime: *f.Anime,
|
Anime: f.Anime,
|
||||||
Episode: f.Episode,
|
Episode: f.Episode,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user