Nick: log clear ACUC cache

This commit is contained in:
Nicolas 2024-12-03 12:15:09 -03:00
parent 990944188e
commit 1477ab2359

View File

@ -14,6 +14,7 @@ export async function acucCacheClearController(req: Request, res: Response) {
await Promise.all((keys.data ?? []).map((x) => clearACUC(x.key))); await Promise.all((keys.data ?? []).map((x) => clearACUC(x.key)));
logger.info(`ACUC cache cleared for team ${team_id}`);
res.json({ ok: true }); res.json({ ok: true });
} catch (error) { } catch (error) {
logger.error(`Error clearing ACUC cache via API route: ${error}`); logger.error(`Error clearing ACUC cache via API route: ${error}`);