mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-02 02:57:15 +08:00
feat: Add logging for Discord ID addition in admin Discord link endpoint
This commit is contained in:
parent
ad469a5c61
commit
f609ec5ee8
@ -695,6 +695,6 @@ func handleAdminDiscordLink(w http.ResponseWriter, r *http.Request) {
|
||||
httpError(w, r, err, http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Printf("%s added discord id %s to username %s", userDiscordId, r.Form.Get("discordId"), r.Form.Get("username"))
|
||||
w.WriteHeader(http.StatusOK)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user