rename JSON field 'hashcash' to 'pow_token' in API request body

This commit is contained in:
user
2026-03-10 10:44:02 -07:00
parent ba304e322e
commit 5b4ac75b23
4 changed files with 5 additions and 5 deletions

View File

@@ -147,7 +147,7 @@ func (hdlr *Handlers) handleCreateSession(
) {
type createRequest struct {
Nick string `json:"nick"`
Hashcash string `json:"hashcash,omitempty"`
Hashcash string `json:"pow_token,omitempty"` //nolint:tagliatelle
}
var payload createRequest