feat: borrar usaurios

This commit is contained in:
2025-12-29 21:58:56 -03:00
parent 98b1b0d9f2
commit b7cfa77a91
7 changed files with 110 additions and 15 deletions

View File

@@ -6,7 +6,8 @@ import type { UserResponseDto } from '../../../types.js';
export const ssr = false;
export async function load({}) {
export async function load({ depends }) {
depends('admin:load');
const response = await fetch(get(apiBase) + '/api/admin/users', {
method: 'GET',
headers: {