mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🎨 corrected RESPONSE_PARSE
This commit is contained in:
parent
d92bc60e79
commit
482e8709a7
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue