mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
🔥 GEN_BODY is no longer needed
This commit is contained in:
parent
04bf0c55e4
commit
f541e16a4d
1 changed files with 0 additions and 3 deletions
|
|
@ -2,9 +2,6 @@
|
||||||
|
|
||||||
#define JSON(V) callback(HttpResponse::newHttpJsonResponse(V));
|
#define JSON(V) callback(HttpResponse::newHttpJsonResponse(V));
|
||||||
#define INLINE __attribute__((always_inline)) inline
|
#define INLINE __attribute__((always_inline)) inline
|
||||||
#define GEN_BODY \
|
|
||||||
const auto temp_req = req->getJsonObject(); \
|
|
||||||
const auto body = temp_req ? *temp_req : Json::Value();
|
|
||||||
#define PASS_HEADER req->getHeader("Password")
|
#define PASS_HEADER req->getHeader("Password")
|
||||||
|
|
||||||
BankF::BankF(Bank *b) : bank(*b) {}
|
BankF::BankF(Bank *b) : bank(*b) {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue