diff --git a/controllers/api_v1_relays.cc b/controllers/api_v1_relays.cc index d7f5ef7..758b59d 100644 --- a/controllers/api_v1_relays.cc +++ b/controllers/api_v1_relays.cc @@ -15,8 +15,6 @@ relays::get_all(const HttpRequestPtr &req, std::functionto_json()); } - Json::StreamWriterBuilder jw; - auto resp = HttpResponse::newHttpJsonResponse(all_relays_json); callback(resp);