fix: correct image upload path in R2 storage (#332)

authored by zzstoatzz.io and committed by GitHub 4a9f37d7 ebe5050d

Changed files
+1 -1
backend
src
backend
storage
+1 -1
backend/src/backend/storage/r2.py
··· 152 152 # try image format 153 153 image_format, is_valid = ImageFormat.validate_and_extract(filename) 154 154 if is_valid and image_format: 155 - key = f"{file_id}{ext}" 155 + key = f"images/{file_id}{ext}" 156 156 media_type = image_format.media_type 157 157 else: 158 158 raise ValueError(