Fix: audit log part for response body for JSON format to be E

This commit is contained in:
martinhsv
2019-10-24 13:19:48 -07:00
committed by Felipe Zimmerle
parent c41ab312f3
commit 68c995ca98
2 changed files with 3 additions and 1 deletions

View File

@@ -1593,7 +1593,7 @@ std::string Transaction::toJSON(int parts) {
strlen("response"));
yajl_gen_map_open(g);
if (parts & audit_log::AuditLog::GAuditLogPart) {
if (parts & audit_log::AuditLog::EAuditLogPart) {
LOGFY_ADD("body", this->m_responseBody.str().c_str());
}
LOGFY_ADD_NUM("http_code", m_httpCodeReturned);