From 083c3ee659c6c5542687f3bafae68cbc24dbc90f Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Sat, 25 Jun 2022 18:07:39 +0800 Subject: db: refactor "action" table to use GORM (#7054) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> --- internal/route/user/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/route/user/profile.go') 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 } -- cgit v1.2.3