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)