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…
Add table
Add a link
Reference in a new issue