rename userList variable to CamelCase

This commit is contained in:
2025-08-06 11:44:48 +02:00
parent 4f0526c71f
commit 7e87a01c59

View File

@@ -6,9 +6,9 @@ export function GET({ locals }) {
return json({ error: 'Unauthorized' }, { status: 401 }); return json({ error: 'Unauthorized' }, { status: 401 });
} }
const users_list = getUsers(); const userList = getUsers();
return new Response(JSON.stringify(users_list)); return new Response(JSON.stringify(userList));
} }
export async function POST({ request, locals }) { export async function POST({ request, locals }) {