fix: Wrong logic for render decorator #1147
Labels
status: needs triage
Issues which needs to be reproduced to be verified report.
type: fix
Issues describing a broken feature.
Description
I added a
@Render()
decorator for one of my routes, but other routes were also affected. I debuged into the code, and inKoaDriver
, I found this:This could result in the following two results:
not
marked with@Render
decorator.@Render
request.Solution
I suggest change this code to this.
The text was updated successfully, but these errors were encountered: