From 3e0fa1d5c13b209e59990bcbc8af41f1ed56c0cd Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Sat, 11 Mar 2023 15:59:36 +0300 Subject: [PATCH] add json reflections to SkirdaUser --- sharedauth/sharedauth.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sharedauth/sharedauth.go b/sharedauth/sharedauth.go index 969b4b1..9c01dee 100644 --- a/sharedauth/sharedauth.go +++ b/sharedauth/sharedauth.go @@ -2,8 +2,6 @@ package sharedauth import ( "time" - - "git.gregbrzezinski.com/Skirda/skirdaGoLauncher/sharedutils/domain" ) type InstallIdRegisterReq struct { @@ -41,7 +39,7 @@ type ValidateResp struct { } type SkirdaUser struct { - Id string - Username string - UserDomains []domain.SkirdaDomain + Id string `json:"id"` + Username string `json:"username"` + UserDomains []string `json:"userdomains"` }