mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-08 14:26:37 +08:00
fix: correct organize media type classification
This commit is contained in:
@@ -94,6 +94,7 @@ func (b *BangumiProvider) Search(ctx context.Context, query string) (*Match, err
|
||||
}
|
||||
m := &Match{
|
||||
BangumiID: r.ID,
|
||||
MediaType: "anime",
|
||||
Title: title,
|
||||
OriginalName: r.Name,
|
||||
Overview: r.Summary,
|
||||
@@ -139,6 +140,7 @@ func (b *BangumiProvider) GetSubject(ctx context.Context, bangumiID int) (*Match
|
||||
}
|
||||
m := &Match{
|
||||
BangumiID: r.ID,
|
||||
MediaType: "anime",
|
||||
Title: title,
|
||||
OriginalName: r.Name,
|
||||
Overview: r.Summary,
|
||||
|
||||
Reference in New Issue
Block a user