diff --git a/routes/utils/user_utils.go b/routes/utils/user_utils.go index 20b63cb..e812d0a 100644 --- a/routes/utils/user_utils.go +++ b/routes/utils/user_utils.go @@ -42,5 +42,5 @@ func CheckEffectiveUser(w http.ResponseWriter, r *http.Request, userService serv return nil, err } - return authorizedUser, nil + return requestedUser, nil }