Skip to content

Commit

Permalink
refactor: 변수명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chaewon121 committed Oct 10, 2023
1 parent ee3455f commit 97fd8e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ public class JsonView implements View {
public void render(final Map<String, ?> model,
final HttpServletRequest request,
final HttpServletResponse response) throws Exception {
final String json = getJsonString(model);
final String jsonBody = getJsonString(model);
response.setContentType(MediaType.APPLICATION_JSON_UTF8_VALUE);
final PrintWriter writer = response.getWriter();
writer.write(json);
writer.write(jsonBody);
writer.flush();
}

Expand Down

0 comments on commit 97fd8e5

Please sign in to comment.