Very minor cleanups and error addition
This commit is contained in:
parent
62d3ed3a56
commit
d3dd1130a2
2 changed files with 11 additions and 3 deletions
|
@ -22,8 +22,8 @@ type StatusResponse struct {
|
|||
// ==============================
|
||||
// API: /register method: POST
|
||||
|
||||
// Register registers a user account by name
|
||||
// Responds with a unique ID for that account to be used in future requests
|
||||
// Register registers a user by name
|
||||
// Responds with a unique ID for that user to be used in future requests
|
||||
func (s Server) Register(d RegisterData) (r RegisterResponse, err error) {
|
||||
err = s.POST("register", d, &r)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue