mirror of
https://github.com/xmrig/xmrig.git
synced 2025-03-16 16:42:14 +00:00
Fixed wrong status code for "GET /1/config"
This commit is contained in:
parent
cf7245b469
commit
1f45e77848
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ void xmrig::ApiRouter::onRequest(IApiRequest &request)
|
||||||
return request.done(403);
|
return request.done(403);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
request.accept();
|
||||||
m_controller->config()->getJSON(request.doc());
|
m_controller->config()->getJSON(request.doc());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue