rename userList variable to CamelCase
This commit is contained in:
@@ -6,9 +6,9 @@ export function GET({ locals }) {
|
||||
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 }) {
|
||||
|
||||
Reference in New Issue
Block a user