summaryrefslogtreecommitdiff
path: root/redfish-core/lib/event_service.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/event_service.hpp')
-rw-r--r--redfish-core/lib/event_service.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/event_service.hpp b/redfish-core/lib/event_service.hpp
index 02bb21f898..28a7ac6b6d 100644
--- a/redfish-core/lib/event_service.hpp
+++ b/redfish-core/lib/event_service.hpp
@@ -375,7 +375,7 @@ inline void requestRoutesEventDestinationCollection(App& app)
if (value == nullptr)
{
messages::propertyValueFormatError(
- asyncResp->res, item.value().dump(2, 1),
+ asyncResp->res, item.value(),
"HttpHeaders/" + item.key());
return;
}
@@ -614,7 +614,7 @@ inline void requestRoutesEventDestination(App& app)
if (value == nullptr)
{
messages::propertyValueFormatError(
- asyncResp->res, it.value().dump(2, ' ', true),
+ asyncResp->res, it.value(),
"HttpHeaders/" + it.key());
return;
}