Fix regression in brace initialization

1476687de introduced a regression because of a simple copy/paste
transcription error.  Unfortunately, dump logs aren't enabled on a
majority of systems, so this typo wasn't caught in the tested statement
for that commit, but was only caught in later CI.

Tested:  Code compiles, code inspection (regression resolution)

Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I98297546be3ed624e21461edbe8c5781287787db
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index 5980071..8ab94cc 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -928,7 +928,7 @@
             logServiceArray.push_back(std::move(eventLog));
 #ifdef BMCWEB_ENABLE_REDFISH_DUMP_LOG
             nlohmann::json::object_t dumpLog;
-            eventLog["@odata.id"] =
+            dumpLog["@odata.id"] =
                 "/redfish/v1/Systems/system/LogServices/Dump";
             logServiceArray.push_back(std::move(dumpLog));
 #endif