API: Fix missing attributes for DowntimeTriggered event

fixes #12464
This commit is contained in:
Michael Friedrich 2016-08-17 16:57:22 +02:00
parent d1dc1188e1
commit e5566a6bd8
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ void ApiEvents::DowntimeTriggeredHandler(const Downtime::Ptr& downtime)
result->Set("type", "DowntimeTriggered"); result->Set("type", "DowntimeTriggered");
result->Set("timestamp", Utility::GetTime()); result->Set("timestamp", Utility::GetTime());
result->Set("downtime", Serialize(downtime)); result->Set("downtime", Serialize(downtime, FAConfig | FAState));
BOOST_FOREACH(const EventQueue::Ptr& queue, queues) { BOOST_FOREACH(const EventQueue::Ptr& queue, queues) {
queue->ProcessEvent(result); queue->ProcessEvent(result);