mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-service.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 {
|
try {
|
||||||
await next()
|
await next()
|
||||||
|
|
||||||
console.log('ctx.request: ', ctx.request)
|
// console.log('ctx.request: ', ctx.request)
|
||||||
const now = new Date()
|
const now = new Date()
|
||||||
|
|
||||||
const reqObj = {
|
const reqObj = {
|
||||||
@@ -122,7 +122,7 @@ function usageMiddleware () {
|
|||||||
method: ctx.request.method,
|
method: ctx.request.method,
|
||||||
timestamp: now.getTime()
|
timestamp: now.getTime()
|
||||||
}
|
}
|
||||||
console.log('reqObj: ', reqObj)
|
// console.log('reqObj: ', reqObj)
|
||||||
|
|
||||||
restCalls.push(reqObj)
|
restCalls.push(reqObj)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user