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: "/manualCameraTrigger" });
|
||||
const manualTrigger: any = await triggerScanner();
|
||||
console.log(manualTrigger);
|
||||
return c.json({
|
||||
|
||||
Reference in New Issue
Block a user