From 08c4f1831d8761ff443bbb9ad49c3feaedcf8480 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 2 Jun 2026 13:15:46 +0000 Subject: chore: remove unused /api/oauth/refresh route (M5b) --- src/lib/Utility/anilistOauth.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/Utility/anilistOauth.ts b/src/lib/Utility/anilistOauth.ts index 26654ec9..9bb570fb 100644 --- a/src/lib/Utility/anilistOauth.ts +++ b/src/lib/Utility/anilistOauth.ts @@ -2,9 +2,8 @@ import { env } from "$env/dynamic/private"; import { env as publicEnv } from "$env/dynamic/public"; // Exchange a refresh token for a fresh access token WITHOUT touching the auth -// cookie. Used by the RSS feed, which is polled by an unattended reader that has -// no session; the interactive /api/oauth/refresh endpoint additionally re-sets -// the cookie, which this deliberately does not. +// cookie — used by the RSS feed, which is polled by an unattended reader that +// has no session, so there is no cookie to re-set. export const refreshAniListToken = async ( refreshToken: string, ): Promise => { -- cgit v1.2.3