fix: idk
This commit is contained in:
parent
6e90d0d3eb
commit
025cd8d2dd
1 changed files with 0 additions and 1 deletions
|
@ -111,7 +111,6 @@ func UpdateUser(c *gin.Context) {
|
||||||
|
|
||||||
if len(uploadedFiles) == 1 {
|
if len(uploadedFiles) == 1 {
|
||||||
initializers.DB.Model(&files[0]).Update("user_id", id.String())
|
initializers.DB.Model(&files[0]).Update("user_id", id.String())
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var user models.User
|
var user models.User
|
||||||
|
|
Loading…
Add table
Reference in a new issue