🎨 corrected RESPONSE_PARSE

This commit is contained in:
EntireTwix 2021-06-27 17:40:05 -07:00
parent d92bc60e79
commit 482e8709a7

View file

@ -8,8 +8,7 @@
const auto body = temp_req ? *temp_req : Json::Value();
#define RESPONSE_PARSE(R) \
\
auto r = R; \
const auto r = R; \
auto resp = HttpResponse::newHttpJsonResponse(JsonCast(std::move(r.second))); \
resp->setStatusCode(r.first); \
callback(resp);