rename JSON field 'hashcash' to 'pow_token' in API request body
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user