fix: returning current user instead of requested one

This commit is contained in:
Asen Mihaylov 2022-06-29 10:46:46 +03:00
parent affff0c386
commit 991e64b961
1 changed files with 1 additions and 1 deletions

View File

@ -42,5 +42,5 @@ func CheckEffectiveUser(w http.ResponseWriter, r *http.Request, userService serv
return nil, err
}
return authorizedUser, nil
return requestedUser, nil
}