Skip to content

Commit

Permalink
Update index.js (#253)
Browse files Browse the repository at this point in the history
removed  this line:
   const env = JSON.stringify(process.env)

i don't think it does anything or adds anything to outbound in the example.

Signed-off-by: Martijn Onstwedder <[email protected]>
  • Loading branch information
onstwedder authored Jul 19, 2024
1 parent ee8e3e2 commit 82a6855
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/javascript/outbound-http/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ export async function handleRequest(request) {

const physicsFactBody = decoder.decode(await physicsFact.arrayBuffer() || new Uint8Array())

const env = JSON.stringify(process.env)

const body = `Here's a physics fact: ${physicsFactBody}\n`

return {
Expand Down

0 comments on commit 82a6855

Please sign in to comment.