mirror of
https://github.com/FluxaMedia/fluxa.git
synced 2026-08-06 08:48:51 +00:00
AniList integration was structurally pull-only — no mutation was ever sent, so adding to the watchlist or marking something watched in Fluxa never propagated back, even though the stored OAuth token already has full read/write access (AniList's OAuth has no scope parameter). Wires pushWatchlist/pushMarkWatched to call the new anilistSaveMediaListEntryVariables core_invoke method and POST a SaveMediaListEntry mutation through the existing generic anilistGraphQl endpoint. Watchlist removal isn't covered: AniList's delete mutation needs the list-entry id (not the media id), which requires an extra lookup query — left as follow-up rather than scope creep here. Same for un-marking watched. |
||
|---|---|---|
| .. | ||
| schemas | ||
| src | ||
| build.gradle.kts | ||