From e305537e7a0835939bfbcc90d665a535bb5cb13c Mon Sep 17 00:00:00 2001 From: Ivan Polyakov Date: Mon, 31 Oct 2022 21:41:36 +0300 Subject: [PATCH] fixed wrong response status identifier --- config.mk | 2 +- cxx/Response.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.mk b/config.mk index 707cb00..422e1f4 100644 --- a/config.mk +++ b/config.mk @@ -1,4 +1,4 @@ -VERSION=0.3.0 +VERSION=0.3.1 #arg Installation prefix PREFIX=/usr/local diff --git a/cxx/Response.cxx b/cxx/Response.cxx index d214a92..0917f18 100644 --- a/cxx/Response.cxx +++ b/cxx/Response.cxx @@ -29,7 +29,7 @@ void Response::render(const char *path, nlohmann::json data) body(result.c_str()); } catch (inja::RenderError &e) { std::cerr << e.what() << std::endl; - status(internal_server_error); + status(rpd_res_st_internal_server_error); return; } }