add new user set avatar and profile background
This commit is contained in:
@@ -113,7 +113,7 @@ func UserGetById(ctx context.Context, user *types.User) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func UserUpdateProfile(ctx context.Context, user *types.User, updateList types.UserProfileUpdateList) error {
|
||||
func UserUpdateProfile(ctx context.Context, user *types.User, updateList *types.UserProfileUpdateList) error {
|
||||
setClauses := make([]string, 0, 3)
|
||||
args := make([]any, 0, 4)
|
||||
argIdx := 1
|
||||
|
||||
Reference in New Issue
Block a user