feat(apihits): so i can see if what end points are being used and when and how often
This commit is contained in:
@@ -22,7 +22,7 @@ app.openapi(
|
||||
async (c) => {
|
||||
//const body = await c.req.json();
|
||||
// make sure we have a vaid user being accessed thats really logged in
|
||||
//apiHit(c, { endpoint: `api/logger/logs/id` });
|
||||
apiHit(c, { endpoint: "/getarticles" });
|
||||
try {
|
||||
return c.json(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user