mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-consumer.git
synced 2026-09-21 16:52:03 -07:00
Removing logging of usage middleware
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user