diff options
| author | Fuwn <[email protected]> | 2025-12-01 13:26:12 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-12-01 13:26:12 -0800 |
| commit | ff930d660b37e79ec17394a534f2dbf655097eff (patch) | |
| tree | 99889571068e0e3566f18dd1eee7de3d93886470 /src/lib | |
| parent | deps: Revert to commit 731733e (diff) | |
| download | due.moe-ff930d660b37e79ec17394a534f2dbf655097eff.tar.xz due.moe-ff930d660b37e79ec17394a534f2dbf655097eff.zip | |
fix: Throw redirects
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/Utility/oauth.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 ?? '/'); }; |