summaryrefslogtreecommitdiff
path: root/dichroism/src/handlers.rs
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-12-28 08:43:44 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-12-28 08:43:44 -0500
commitbb1edd35721d34ce394ab9e51c4095015f26b185 (patch)
tree2287c44f6ccc660abcd508df239909bbb0ecc9c2 /dichroism/src/handlers.rs
parent9c02faa06170d7d3140bf252d1dca4630e4b0172 (diff)
downloadtheglassyladies-bb1edd35721d34ce394ab9e51c4095015f26b185.tar.xz
theglassyladies-bb1edd35721d34ce394ab9e51c4095015f26b185.zip
fixed images that were rotated with exif tags not displaying rotateddev
Diffstat (limited to 'dichroism/src/handlers.rs')
-rw-r--r--dichroism/src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dichroism/src/handlers.rs b/dichroism/src/handlers.rs
index 8dd0f3b..b9420af 100644
--- a/dichroism/src/handlers.rs
+++ b/dichroism/src/handlers.rs
@@ -117,7 +117,7 @@ async fn post_photo(
}
// create new photo_set
- let photo_set = web::block(move || image_service::generate_photo_set(&data))
+ let photo_set = web::block(move || image_service::generate_photo_set(data))
.await
.map_err(to_internal_error)?;
let conn = pool.get().map_err(to_internal_error)?;