Unrated-Limited-Unlimited / ua-backend

4 stars 0 forks source link

Allow uploading of different image types + User.img is updated on profile image change. #39

Closed Veggissss closed 5 months ago

Veggissss commented 5 months ago

The image endpoints /img/whiskey/{id} and /img/profile now supports all image/* types (PNG, GIF, etc.). It will try to convert any image type to JPG and store it in FISO.

The default value of User.img is now set to null. This value will be updated when a user uploads an image to the image prefix p + user_id. The value can no longer be changed through /registrer and the editUser mutation function.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud