This commit is contained in:
Nabil Ould Hamou 2024-04-08 23:25:02 +02:00
parent 6e90d0d3eb
commit 025cd8d2dd
No known key found for this signature in database
GPG key ID: 2B1AE73E9B6014EF

View file

@ -111,7 +111,6 @@ func UpdateUser(c *gin.Context) {
if len(uploadedFiles) == 1 {
initializers.DB.Model(&files[0]).Update("user_id", id.String())
return
}
var user models.User