feat(apihits): so i can see if what end points are being used and when and how often
This commit is contained in:
@@ -34,7 +34,7 @@ app.openapi(
|
||||
}),
|
||||
async (c) => {
|
||||
const { data: body, error } = await tryCatch(c.req.json());
|
||||
|
||||
apiHit(c, { endpoint: "/manuallabellog", lastBody: body });
|
||||
if (error) {
|
||||
return c.json(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user