aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Data/AniList/following.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-04-18 09:14:14 +0000
committerFuwn <[email protected]>2026-04-18 09:14:14 +0000
commit13226aaeb7c4dc1ce01074ef1ba1eeb87b53d5f5 (patch)
treeb8b8ed967686145dc7f7ff727015de17828169f9 /src/lib/Data/AniList/following.ts
parentfix(easter-event): drop dead resize/scroll listener cleanup (diff)
downloaddue.moe-13226aaeb7c4dc1ce01074ef1ba1eeb87b53d5f5.tar.xz
due.moe-13226aaeb7c4dc1ce01074ef1ba1eeb87b53d5f5.zip
fix(api): drop unused redirect query param from oauth refresh
The refresh endpoint accepted a ?redirect query param and, when present, called redirect(303, "/") instead of returning the refreshed token as JSON. The target was hardcoded to "/" regardless of the param's value, so the feature was dead — and the pattern of reading a "redirect" param invited future open-redirect bugs if someone wired the value through to redirect() directly. The sole in-tree caller (feeds/activity-notifications) reads the JSON response, so always return JSON and drop the redirect import.
Diffstat (limited to 'src/lib/Data/AniList/following.ts')
0 files changed, 0 insertions, 0 deletions