add json reflections to SkirdaUser

This commit is contained in:
cyber-dream 2023-03-11 15:59:36 +03:00
parent 8a698b8b1d
commit 3e0fa1d5c1

View File

@ -2,8 +2,6 @@ package sharedauth
import ( import (
"time" "time"
"git.gregbrzezinski.com/Skirda/skirdaGoLauncher/sharedutils/domain"
) )
type InstallIdRegisterReq struct { type InstallIdRegisterReq struct {
@ -41,7 +39,7 @@ type ValidateResp struct {
} }
type SkirdaUser struct { type SkirdaUser struct {
Id string Id string `json:"id"`
Username string Username string `json:"username"`
UserDomains []domain.SkirdaDomain UserDomains []string `json:"userdomains"`
} }