Closed ilterugur closed 2 years ago
Nestjs's default route methods (Get, Post, Put etc.) automatically sets the response's content type header to json if response returns json but nestia helper's TypedRoute methods set it to html. Is there any workaround or fix for this?
Thanks for reporting. v3.0.8 update has fixed the bug.
v3.0.8
EncryptedRoute
TypedRoute
Nestjs's default route methods (Get, Post, Put etc.) automatically sets the response's content type header to json if response returns json but nestia helper's TypedRoute methods set it to html. Is there any workaround or fix for this?