mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
🎨⚡ RESPOND_TRUE related functions return 204 now
This commit is contained in:
parent
8a23c8fa00
commit
4b6c71354f
1 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ static thread_local ondemand::parser parser;
|
|||
callback(resp)
|
||||
|
||||
#define RESPOND_TRUE \
|
||||
static thread_local auto resp = HttpResponse::newCustomHttpResponse(BankResponse(k200OK, "true")); \
|
||||
static thread_local auto resp = HttpResponse::newCustomHttpResponse(BankResponse(k204NoContent, std::nullopt)); \
|
||||
CORS; \
|
||||
CACHE_FOREVER; \
|
||||
callback(resp)
|
||||
|
|
|
|||
Loading…
Reference in a new issue