🎨 RESPOND_TRUE related functions return 204 now

This commit is contained in:
EntireTwix 2021-07-11 15:38:23 -07:00
parent 8a23c8fa00
commit 4b6c71354f

View file

@ -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)