mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
⚡ made RESPOND_TRUE use the custom BankResponse response
This commit is contained in:
parent
f4f28fa92f
commit
9fabf137f1
1 changed files with 1 additions and 4 deletions
|
|
@ -10,10 +10,7 @@
|
|||
|
||||
#define RESPONSE_PARSE(R) callback(HttpResponse::newCustomHttpResponse(R));
|
||||
|
||||
#define RESPOND_TRUE \
|
||||
auto resp = HttpResponse::newHttpJsonResponse(true); \
|
||||
CACHE_FOREVER \
|
||||
callback(resp);
|
||||
#define RESPOND_TRUE RESPONSE_PARSE(BankResponse(k200OK, "\"true\""))
|
||||
|
||||
#define NAME_PARAM req->getParameter("name")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue