mirror of
https://gitlab.com/wheres-the-tp/server.git
synced 2026-01-25 07:54:57 -06:00
rename image extensions to jpg to match actual encoding
This commit is contained in:
parent
0d4d389854
commit
5086906693
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@
|
||||||
(let [username (get-in req [:params :username] "Bart Akeley")
|
(let [username (get-in req [:params :username] "Bart Akeley")
|
||||||
foodItemId (get-in req [:params :foodItemId])
|
foodItemId (get-in req [:params :foodItemId])
|
||||||
image (get-in req [:params :photo :tempfile])
|
image (get-in req [:params :photo :tempfile])
|
||||||
img-name (str foodItemId "/" (UUID/randomUUID) ".png")]
|
img-name (str foodItemId "/" (UUID/randomUUID) ".jpg")]
|
||||||
(println "/addimage ---->" img-name)
|
(println "/addimage ---->" img-name)
|
||||||
(put-s3 img-name image)
|
(put-s3 img-name image)
|
||||||
(->>
|
(->>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue