Skip to content

Commit 6c2af01

Browse files
committed
Remove debugging logs
1 parent ad4d2ef commit 6c2af01

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/serverless.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ const origin = (origin, callback) => {
4444
}
4545

4646
exports.handler = (event, context) => {
47-
console.dir(event, { depth: 10 })
4847
// Set request context which is missing on Vercel:
4948
// https://stackoverflow.com/questions/71360059/apollo-server-lambda-unable-to-determine-event-source-based-on-event
5049
if (event.requestContext == null) event.requestContext = context

src/utils/createContext.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const createDate = require('./createDate')
88
const ignoreCookie = require('./ignoreCookie')
99

1010
const createServerlessContext = (integrationContext) => {
11-
console.dir(integrationContext, { depth: 10 })
1211
return createContext(integrationContext.event.headers['client-ip'], integrationContext.event.headers)
1312
}
1413

0 commit comments

Comments
 (0)