samchon / nestia-helper

NestJS helper with Type level
MIT License
34 stars 3 forks source link

Response headers are set to html when TypedRoute is used #29

Closed ilterugur closed 2 years ago

ilterugur commented 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?

samchon commented 2 years ago

Thanks for reporting. v3.0.8 update has fixed the bug.