diff --git a/sharedauth/sharedauth.go b/sharedauth/sharedauth.go index 4300bb6..82db419 100644 --- a/sharedauth/sharedauth.go +++ b/sharedauth/sharedauth.go @@ -39,7 +39,13 @@ type ValidateResp struct { } type SkirdaUser struct { - SkirdaUserId string `json:"skirdauserid"` - Username string `json:"username"` - UserDomains []string `json:"userdomains"` + SkirdaUserId string `bson:"skirdauserid" json:"skirdauserid"` + DiscordId string `bson:"discordid" json:"-"` + Username string `bson:"username" json:"username"` + UserDomains []string `bson:"userdomains" json:"userdomains"` + Installs []LauncherInstall `bson:"installs" json:"-"` +} + +type LauncherInstall struct { + InstallId string `bson:"installid"` }