From 5584655f048e2bf3b7b70e83cf84be62a0a08ec5 Mon Sep 17 00:00:00 2001 From: cmyui Date: Sun, 21 Apr 2024 07:05:46 -0400 Subject: [PATCH] fix --- app/v1/self.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/v1/self.go b/app/v1/self.go index a0d0f7f..95d9144 100644 --- a/app/v1/self.go +++ b/app/v1/self.go @@ -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