diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2021-11-16 20:36:33 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2021-11-16 20:40:51 +0300 |
commit | ccd584f2da1e687ea66d47824a791162458e737b (patch) | |
tree | 3af24aac73a347af09448e543f57440d0b21b791 /include/dbus_monitor.hpp | |
parent | 0f3d3a01aed4040ef73a977a958ecdf4f68111f6 (diff) | |
download | bmcweb-ccd584f2da1e687ea66d47824a791162458e737b.tar.xz |
Revert "Remove AsyncResp from openHandler"
This reverts commit 0f3d3a01aed4040ef73a977a958ecdf4f68111f6.
Seeing bumps fail.
Change-Id: Ida7b1bae48abbed2e00a5259e8f94b64168d4788
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'include/dbus_monitor.hpp')
-rw-r--r-- | include/dbus_monitor.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dbus_monitor.hpp b/include/dbus_monitor.hpp index 60041941f4..a6c86c61ef 100644 --- a/include/dbus_monitor.hpp +++ b/include/dbus_monitor.hpp @@ -107,7 +107,8 @@ inline void requestRoutes(App& app) BMCWEB_ROUTE(app, "/subscribe") .privileges({{"Login"}}) .websocket() - .onopen([&](crow::websocket::Connection& conn) { + .onopen([&](crow::websocket::Connection& conn, + const std::shared_ptr<bmcweb::AsyncResp>&) { BMCWEB_LOG_DEBUG << "Connection " << &conn << " opened"; sessions[&conn] = DbusWebsocketSession(); }) |