From 89722ebd6dcdc7067277050a431fbb7b9ea1dcf5 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Wed, 7 Oct 2020 09:37:41 -0400 Subject: sorted out image repo, error handling --- dichroism/src/handlers.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'dichroism/src/handlers.rs') diff --git a/dichroism/src/handlers.rs b/dichroism/src/handlers.rs index e4ea6a0..0e2b2c3 100644 --- a/dichroism/src/handlers.rs +++ b/dichroism/src/handlers.rs @@ -19,6 +19,7 @@ async fn get_images(pool: web::Data) -> Result { eprintln!("{}", e); HttpResponse::InternalServerError().finish() })?; + dbg!(&images); Ok(HttpResponse::Ok().json(images)) } -- cgit v1.2.3