Closed mcollina closed 9 months ago
It is related to: https://github.com/fastify/fastify/pull/5056
Since we don't return anymore the content-type
, when we execute .json()
It triggers and error
> JSON.parse('')
Uncaught SyntaxError: Unexpected end of JSON input
We need to update our test suite
It is related to: fastify/fastify#5056
Since we don't return anymore the
content-type
, when we execute.json()
It triggers and error
> JSON.parse('') Uncaught SyntaxError: Unexpected end of JSON input
We need to update our test suite
Hi @Eomm ! Attempting to do this. Will make a draft pr once I figure it out, is that fine? Thanks!
update: made a pr https://github.com/fastify/fastify-request-context/pull/176
@shawshankkumar I found a solution but the linting is failing for me. Do you have the same issue? I'm getting 'use strict' is unnecessary inside of modules
@shawshankkumar I found a solution but the linting is failing for me. Do you have the same issue? I'm getting
'use strict' is unnecessary inside of modules
hey @alfonsograziano no, i am not getting any such errors, can you post a screenshot?
Can somebody take a look?