From e5912d4f9504590d4256777b7e94686de2588a6d Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Sat, 8 Jul 2017 15:51:55 -0700 Subject: Fixing error in apiv4 flagged posts route (#6880) --- api4/post.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api4/post.go') diff --git a/api4/post.go b/api4/post.go index 3d1077358..886b64daa 100644 --- a/api4/post.go +++ b/api4/post.go @@ -139,8 +139,8 @@ func getFlaggedPostsForUser(c *Context, w http.ResponseWriter, r *http.Request) return } - channelId := r.URL.Query().Get("in_channel") - teamId := r.URL.Query().Get("in_team") + channelId := r.URL.Query().Get("channel_id") + teamId := r.URL.Query().Get("team_id") var posts *model.PostList var err *model.AppError -- cgit v1.2.3-1-g7c22