feat: Add logging for Discord ID addition in admin Discord link endpoint

This commit is contained in:
Frederico Santos 2024-08-30 01:16:02 +01:00
parent ad469a5c61
commit f609ec5ee8

View File

@ -695,6 +695,6 @@ func handleAdminDiscordLink(w http.ResponseWriter, r *http.Request) {
httpError(w, r, err, http.StatusInternalServerError) httpError(w, r, err, http.StatusInternalServerError)
return return
} }
fmt.Printf("%s added discord id %s to username %s", userDiscordId, r.Form.Get("discordId"), r.Form.Get("username"))
w.WriteHeader(http.StatusOK) w.WriteHeader(http.StatusOK)
} }