mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-14 03:56:54 +00:00
17 lines
405 B
TypeScript
17 lines
405 B
TypeScript
import { ActionsEnum } from "@server/auth/actions";
|
|
import { Request, Response, NextFunction } from "express";
|
|
|
|
export function logActionAudit(action: ActionsEnum) {
|
|
return async function (
|
|
req: Request,
|
|
res: Response,
|
|
next: NextFunction
|
|
): Promise<any> {
|
|
next();
|
|
};
|
|
}
|
|
|
|
export async function cleanUpOldLogs(orgId: string, retentionDays: number) {
|
|
return;
|
|
}
|