chore: fix latest build
Backend - Build & Lint / build (push) Has been cancelled

This commit is contained in:
2026-06-29 18:56:00 +02:00
parent 9fcc77307f
commit 781212f706
5 changed files with 24 additions and 15 deletions
+1 -1
View File
@@ -914,7 +914,7 @@ func ServeMedia(c *gin.Context) {
return
}
body, contentType, err := s3Service.GetFile(key)
body, contentType, err := s3Service.GetFile(c.Request.Context(), key)
if err != nil {
c.JSON(http.StatusNotFound, gin.H{"error": "Média non trouvé"})
return