Remove account IDs in favor of just account names
These were a "security" feature but pre-emptive and just add complications when we can implement secrets later
This commit is contained in:
parent
b3b369f608
commit
7749854eb7
8 changed files with 23 additions and 53 deletions
|
@ -27,7 +27,6 @@ type StatusResponse struct {
|
|||
// API: /register method: POST
|
||||
|
||||
// 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
|
||||
|
@ -42,8 +41,6 @@ type RegisterData struct {
|
|||
type RegisterResponse struct {
|
||||
Success bool `json:"success"`
|
||||
Error string `json:"error,omitempty"`
|
||||
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
// ==============================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue