1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

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

View File

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