Merge pull request #167 from Permissionless-Software-Foundation/ct-unstable

Removing logging of usage middleware
This commit is contained in:
Chris Troutner
2025-01-27 18:55:29 -07:00
committed by GitHub
+2 -2
View File
@@ -113,7 +113,7 @@ function usageMiddleware () {
try {
await next()
console.log('ctx.request: ', ctx.request)
// console.log('ctx.request: ', ctx.request)
const now = new Date()
const reqObj = {
@@ -122,7 +122,7 @@ function usageMiddleware () {
method: ctx.request.method,
timestamp: now.getTime()
}
console.log('reqObj: ', reqObj)
// console.log('reqObj: ', reqObj)
restCalls.push(reqObj)
} catch (err) {