Skip to content

Commit

Permalink
chore: Refactor handleAdminDiscordLink function for improved logging
Browse files Browse the repository at this point in the history
  • Loading branch information
f-fsantos committed Sep 1, 2024
1 parent 0b90619 commit 0704365
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -691,5 +691,6 @@ func handleAdminDiscordLink(w http.ResponseWriter, r *http.Request) {
}

log.Printf("%s: %s added discord id %s to username %s", r.URL.Path, userDiscordId, r.Form.Get("discordId"), r.Form.Get("username"))

w.WriteHeader(http.StatusOK)
}

0 comments on commit 0704365

Please sign in to comment.