Add follow status to GetUserProfile

This commit is contained in:
Marco Realacci 2022-11-22 17:48:15 +01:00
parent 9968f9e66f
commit 09adc06e18
4 changed files with 9 additions and 3 deletions

View file

@ -22,7 +22,7 @@ func (rt *_router) GetUserProfile(w http.ResponseWriter, r *http.Request, ps htt
}
// Get user profile
status, profile, err := rt.db.GetUserProfile(uid)
status, profile, err := rt.db.GetUserProfile(uid, ctx.Auth.GetUserID())
if err != nil {
helpers.SendInternalError(err, "Database error: GetUserProfile", w, rt.baseLogger)