diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-07-08 15:51:55 -0700 |
---|---|---|
committer | Saturnino Abril <saturnino.abril@gmail.com> | 2017-07-09 06:51:55 +0800 |
commit | e5912d4f9504590d4256777b7e94686de2588a6d (patch) | |
tree | 733a78b95cf763e6cdfe5916a0b1f880fd38fda9 /api4 | |
parent | 4956a7198b16630e394e93e69a571df3638f3a99 (diff) | |
download | chat-e5912d4f9504590d4256777b7e94686de2588a6d.tar.gz chat-e5912d4f9504590d4256777b7e94686de2588a6d.tar.bz2 chat-e5912d4f9504590d4256777b7e94686de2588a6d.zip |
Fixing error in apiv4 flagged posts route (#6880)
Diffstat (limited to 'api4')
-rw-r--r-- | api4/post.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 |