chore: format code via prettier & csharpier

This commit is contained in:
2026-06-17 20:28:58 -04:00
parent f2c67ae367
commit df39f2bd46
4 changed files with 34 additions and 26 deletions
@@ -1,7 +1,7 @@
import { error, redirect } from '@sveltejs/kit';
export async function GET({ params }) {
const username = params?.username;
if (!username) throw error(404, 'User not found');
throw redirect(302, `/user/${encodeURIComponent(username)}`);
const username = params?.username;
if (!username) throw error(404, 'User not found');
throw redirect(302, `/user/${encodeURIComponent(username)}`);
}