diff --git a/src/request_crawl.rs b/src/request_crawl.rs index bb63e11..1ea2b2f 100644 --- a/src/request_crawl.rs +++ b/src/request_crawl.rs @@ -22,7 +22,7 @@ pub async fn handle_request_crawl( Err(_) => { // TODO: surely we can build out an XRPC abstraction or something return Ok(Response::builder().status(400).body(body_full( - r#"{ "error": "InvalidRequest", "message": "Failed to parse request body" }"#, + r#"{"error":"InvalidRequest","message":"Failed to parse request body"}"#, ))?); } }; @@ -34,5 +34,7 @@ pub async fn handle_request_crawl( } }); - Ok(Response::builder().status(200).body(body_empty())?) + Ok(Response::builder() + .status(200) + .body(body_full(r#"{"status":"ok"}"#))?) }