server/REST: make handle_request private
it's not used anywhere else, so do not suggest so Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f6b1d1cc66
commit
ea545b395b
|
@ -512,7 +512,7 @@ fn check_auth(
|
|||
Ok(userid)
|
||||
}
|
||||
|
||||
pub async fn handle_request(api: Arc<ApiConfig>, req: Request<Body>) -> Result<Response<Body>, Error> {
|
||||
async fn handle_request(api: Arc<ApiConfig>, req: Request<Body>) -> Result<Response<Body>, Error> {
|
||||
|
||||
let (parts, body) = req.into_parts();
|
||||
|
||||
|
|
Loading…
Reference in New Issue