Episodes are stored in different properties in general and specific History methods.
Issue #113
resolved
Steps to reproduce:
-
Call general history method: /2.1/history/<username>
-
Call anime specific history method: /2.1/anime/history/<anime id>
Actual result:
General history method stores episodes in item.episodes property. Anime specific method stores episodes in item.watched_episodes property.
Expected result:
All history methods store progress the same way.
Comments (3)
-
-
We should use watched_episodes on both calls as that's the correct property for that type of data. I'm not opposed to changing the returned data and breaking with the old as it's an obvious bug. I'll handle the fix tomorrow night if it's not done before then.
-
- changed status to resolved
Correct User History List Watched/Read
Set the correct property for displaying progress on the user’s history list.
Fixes
#113→ <<cset 33a309d1bd73>>
- Log in to comment
Yes, the generic method should return watched_episodes. It looks like I made a mistake while writing the code.
@motokochan what should we do? use episodes and watched_episodes for compatibility?