diff options
author | Joe Chen <jc@unknwon.io> | 2022-06-25 18:07:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-25 18:07:39 +0800 |
commit | 083c3ee659c6c5542687f3bafae68cbc24dbc90f (patch) | |
tree | 0103bf3b5c5ebfccd368a7cb6a425a521fd669d9 /internal/route/user/profile.go | |
parent | 9df4e3ae3c555a86f691f0d78a43834842e77d8b (diff) |
db: refactor "action" table to use GORM (#7054)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Diffstat (limited to 'internal/route/user/profile.go')
-rw-r--r-- | internal/route/user/profile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/user/profile.go b/internal/route/user/profile.go index 3baee4e3..25127028 100644 --- a/internal/route/user/profile.go +++ b/internal/route/user/profile.go @@ -54,7 +54,7 @@ func Profile(c *context.Context, puser *context.ParamsUser) { c.Data["TabName"] = tab switch tab { case "activity": - retrieveFeeds(c, puser.User, -1, true) + retrieveFeeds(c, puser.User, c.UserID(), true) if c.Written() { return } |