Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Apr 21, 2024
1 parent 50ba544 commit 5584655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/v1/self.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func UsersSelfSettingsPOST(md common.MethodData) common.CodeMessager {
md.Err(err)
return Err500
}
_, err = md.DB.Exec("UPDATE users SET "+q.Fields()+"Where id = ?", append(q.Parameters, md.ID())...)
_, err = md.DB.Exec("UPDATE users SET "+q.Fields()+" WHERE id = ?", append(q.Parameters, md.ID())...)
if err != nil {
md.Err(err)
return Err500
Expand Down

0 comments on commit 5584655

Please sign in to comment.