diff options
Diffstat (limited to 'mxlib/api.go')
-rw-r--r-- | mxlib/api.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mxlib/api.go b/mxlib/api.go index 6d35108..9cd02d5 100644 --- a/mxlib/api.go +++ b/mxlib/api.go @@ -40,7 +40,12 @@ type LoginResponse struct { } type RegisterRequest struct { - Username string `json:"username"` + Auth RegisterRequestAuth `json:"auth"` + Username string `json:"username"` +} + +type RegisterRequestAuth struct { + Type string `json:"type"` } type RegisterResponse struct { |