feat(apihits): so i can see if what end points are being used and when and how often
This commit is contained in:
@@ -16,7 +16,7 @@ app.openapi(
|
||||
}),
|
||||
async (c) => {
|
||||
// make sure we have a vaid user being accessed thats really logged in
|
||||
apiHit(c, { endpoint: "api/auth/register" });
|
||||
apiHit(c, { endpoint: "/getInfo" });
|
||||
try {
|
||||
return c.json(
|
||||
{ success: true, message: "Ocme Info", data: await getInfo() },
|
||||
|
||||
Reference in New Issue
Block a user