From 209e1428d82e15accaded0fd39962aaef728ca68 Mon Sep 17 00:00:00 2001 From: phoenix Date: Mon, 25 May 2026 22:43:20 -0400 Subject: [PATCH] Syntax fix --- tx0/user/user_profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tx0/user/user_profile.go b/tx0/user/user_profile.go index cdb2a39..5df6b6a 100644 --- a/tx0/user/user_profile.go +++ b/tx0/user/user_profile.go @@ -10,7 +10,7 @@ type UserProfile struct { func InitUserProfile(usr *User) (usrProfile *UserProfile, err error) { if usr == nil { - return nil, fmt.Errof("User is empty") + return nil, fmt.Errorf("User is empty") } else { usrProfile = new(UserProfile) if len(usr.Password) > 0 {