From 2820cdfed680f75cb457a447c6906e7d5f5ec6df Mon Sep 17 00:00:00 2001 From: phoenix Date: Wed, 27 May 2026 22:47:21 -0400 Subject: [PATCH] Fixed error --- tx0/user/user_profile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tx0/user/user_profile.go b/tx0/user/user_profile.go index fbbb95c..01b7f84 100644 --- a/tx0/user/user_profile.go +++ b/tx0/user/user_profile.go @@ -14,8 +14,8 @@ type UserProfile struct { Username string `json:"username"` Firstname string `json:"firstname"` Lastname string `json:"lastname"` - Created time `json:"created"` - LastLogin *time `json:"last_login,omitempty"` + Created time.Time `json:"created"` + LastLogin *time.Time `json:"last_login,omitempty"` } func InitUserProfile(usr *User) (usrProfile *UserProfile, err error) {