mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-23 21:19:18 -06:00
user_id => userid, no underscore
This commit is contained in:
@@ -3,7 +3,7 @@ package data
|
||||
// User holds the payload for a GetUser response
|
||||
type User struct {
|
||||
// TODO needs better naming, clarify if we need a userid, a username or both
|
||||
UserID string `json:"user_id" xml:"user_id"`
|
||||
UserID string `json:"userid" xml:"userid"`
|
||||
Username string `json:"username" xml:"username"`
|
||||
DisplayName string `json:"displayname" xml:"displayname"`
|
||||
Email string `json:"email" xml:"email"`
|
||||
|
||||
Reference in New Issue
Block a user