We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0882857 + c03349c commit e8ede4bCopy full SHA for e8ede4b
pkg/api/handlers/user_post.go
@@ -28,7 +28,7 @@ func (h *SocialMediaHandler) PostUser(w http.ResponseWriter, r *http.Request) {
28
}
29
30
if body.Username == "" || body.Email == "" || body.Password == "" {
31
- log.Printf("[ERROR] Missing required fields: Username: %v, Email: %v, Password: %v", body.Username, body.Email, body.Password)
+ log.Printf("[ERROR] Missing required fields")
32
http.Error(w, "Missing required fields", http.StatusBadRequest)
33
return
34
0 commit comments