Fixed wrong status code for "GET /1/config"

This commit is contained in:
XMRig 2019-04-01 18:56:42 +07:00
parent cf7245b469
commit 1f45e77848

View file

@ -78,6 +78,7 @@ void xmrig::ApiRouter::onRequest(IApiRequest &request)
return request.done(403);
}
request.accept();
m_controller->config()->getJSON(request.doc());
}
}