This commit is contained in:
Gvidas Juknevičius 2024-03-30 18:27:29 +02:00
parent 0f5d8615f4
commit 79d649ae58
Signed by: MCorange
GPG Key ID: 12B1346D720B7FBB

View File

@ -40,6 +40,7 @@ pub async fn handler(req: HttpRequest, token: web::Path<String>, body: Bytes, db
let Ok(event) = types::Event::from_raw_json(event_type, json.clone()) else { let Ok(event) = types::Event::from_raw_json(event_type, json.clone()) else {
log::debug!("Bad request body json"); log::debug!("Bad request body json");
log::debug!("{json:?}");
return Ok(HttpResponse::BadRequest()); return Ok(HttpResponse::BadRequest());
}; };