f052_admin_area #27

Merged
jared merged 13 commits from f052_admin_area into development 2025-08-21 11:08:45 +02:00
Showing only changes of commit 7e87a01c59 - Show all commits

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 }) {