From 9fc5f8688637b359cd70be9595f065719d2f6289 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 13 Jul 2019 19:14:53 -0700 Subject: [PATCH] modules/m_fetch: Fix event construction regression. --- modules/m_fetch.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/m_fetch.cc b/modules/m_fetch.cc index 6759b8003..4ca345441 100644 --- a/modules/m_fetch.cc +++ b/modules/m_fetch.cc @@ -888,9 +888,9 @@ try complete.size(), }; - const json::object event + const m::event event { - request + json::object{request}, request.event_id }; m::vm::opts opts; @@ -901,7 +901,7 @@ try opts.fetch_prev_wait = false; m::vm::eval { - m::event{event}, opts + event, opts }; } catch(const std::exception &e)