From ff930d660b37e79ec17394a534f2dbf655097eff Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 1 Dec 2025 13:26:12 -0800 Subject: fix: Throw redirects --- src/lib/Utility/oauth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/Utility') diff --git a/src/lib/Utility/oauth.ts b/src/lib/Utility/oauth.ts index c42739c3..5c05bff9 100644 --- a/src/lib/Utility/oauth.ts +++ b/src/lib/Utility/oauth.ts @@ -47,5 +47,5 @@ export const callback = async (options: CallbackOptions) => { } ); - redirect(303, options.redirect ?? '/'); + throw redirect(303, options.redirect ?? '/'); }; -- cgit v1.2.3