Very minor cleanups and error addition

This commit is contained in:
Marc Di Luzio 2020-06-05 21:29:55 +01:00
parent 62d3ed3a56
commit d3dd1130a2
2 changed files with 11 additions and 3 deletions

View file

@ -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