implementar visualizacion de logs y seteo de usuario administrador

This commit is contained in:
2026-04-07 16:11:49 -05:00
parent 9a8e70c943
commit 605ea94041
11 changed files with 479 additions and 12 deletions
+10
View File
@@ -0,0 +1,10 @@
import client from './client';
export const listMyAuditEvents = ({ page = 1, limit = 15, type } = {}) => {
const params = { page, limit };
if (type) params.type = type;
return client.get('/audit/mine', { params });
};
export const purgeMyAuditEvents = (certPassword) =>
client.post('/audit/mine/purge', { certPassword });