diff options
author | Joe Chen <jc@unknwon.io> | 2022-10-22 20:01:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 20:01:38 +0800 |
commit | ce25881c880d9711f211be05f92a809304a436e3 (patch) | |
tree | 9239c155c8276761de6639fd19b0a56e87eedde5 /internal/route/user/home.go | |
parent | 7cbd84d5b3d4af36e4afcf7af9374bc765f6bb9c (diff) |
refactor(db): move some methods off `user.go` (#7199)
Diffstat (limited to 'internal/route/user/home.go')
-rw-r--r-- | internal/route/user/home.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/user/home.go b/internal/route/user/home.go index a14572ed..5a2ebf8e 100644 --- a/internal/route/user/home.go +++ b/internal/route/user/home.go @@ -82,7 +82,7 @@ func retrieveFeeds(c *context.Context, ctxUser *db.User, userID int64, isProfile c.Error(err, "get user by name") return } - unameAvatars[act.ActUserName] = u.RelAvatarLink() + unameAvatars[act.ActUserName] = u.AvatarURLPath() } act.ActAvatar = unameAvatars[act.ActUserName] |