Files
linkedsign/frontend/src/api/audit.js
T

11 lines
332 B
JavaScript

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