user_id => userid, no underscore

This commit is contained in:
A.Unger
2020-07-28 15:14:29 +02:00
parent f8b22fc619
commit 225b206686

View File

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