mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-18 15:57:31 -03:00
feat: borrar usaurios
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user