Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
Signed-off-by: William <kwasidev@protonmail.com>
  • Loading branch information
kwesidev committed Dec 15, 2023
1 parent 8932623 commit 119c886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/user_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (usrSrv *UserService) Update(userId int, userUpdateRequest models.UserUpdat
args = append(args, userUpdateRequest.CellNumber)
argCount++
}

// Update meta data
if userUpdateRequest.Metadata != nil {
query += fmt.Sprintf("meta_data = $%d, ", argCount)
args = append(args, userUpdateRequest.Metadata)
Expand Down

0 comments on commit 119c886

Please sign in to comment.