Skip to content

Commit

Permalink
chore: clean up log
Browse files Browse the repository at this point in the history
  • Loading branch information
njlie committed Apr 4, 2024
1 parent 569853d commit 92708f1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/backend/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,6 @@ export class App {
)

koa.use(async (ctx, next: Koa.Next): Promise<void> => {
this.logger.info(
{ requestBody: ctx.request.body, headers: ctx.request.headers },
'body to be hashed, headers'
)
if (!verifyApiSignature(ctx, this.config) && this.config.apiSecret) {
ctx.throw(401, 'Unauthorized')
}
Expand Down

0 comments on commit 92708f1

Please sign in to comment.