diff --git a/pkg/user/user.go b/pkg/user/user.go index 0478dc06..190cf7d7 100644 --- a/pkg/user/user.go +++ b/pkg/user/user.go @@ -361,7 +361,12 @@ func UpdateUser(user *User) (updatedUser *User, err error) { // Update it _, err = x. ID(user.ID). - Cols("username", "email", "avatar_provider", "is_active"). + Cols( + "username", + "email", + "avatar_provider", + "avatar_file_id", + "is_active"). Update(user) if err != nil { return &User{}, err