mirror of
https://gitlab.com/wheres-the-tp/server.git
synced 2026-01-25 06:14:55 -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")
|
||||
foodItemId (get-in req [:params :foodItemId])
|
||||
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)
|
||||
(put-s3 img-name image)
|
||||
(->>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue