mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-01 02:32:55 +08:00
chore: Add logging for Discord ID addition in admin Discord link endpoint
This commit is contained in:
parent
de2e74ce5e
commit
2d166d44b7
@ -695,6 +695,8 @@ func handleAdminDiscordLink(w http.ResponseWriter, r *http.Request) {
|
||||
httpError(w, r, err, http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
||||
log.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