Skip to content

Commit

Permalink
fix: fastify v3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jun 12, 2020
1 parent 95c4d0c commit 027265c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtracer.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const fastifyPlugin = ({
requestId = requestId || uuidv1()

als.run(requestId, () => {
wrapHttpEmitters(request.raw, reply.res)
wrapHttpEmitters(request.raw, reply.raw || reply.res)
done()
})
})
Expand Down

0 comments on commit 027265c

Please sign in to comment.