summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2017-02-15 14:36:10 -0300
committerGitHub <noreply@github.com>2017-02-15 14:36:10 -0300
commitdaf7a15d3b818941e078265e63c3dcc79c39b45a (patch)
tree7188d17fbefc6f839dc7303a1d86b80b22c844de
parent2e0cf56e86656e791e20fb31566881e8fb748649 (diff)
downloadchat-daf7a15d3b818941e078265e63c3dcc79c39b45a.tar.gz
chat-daf7a15d3b818941e078265e63c3dcc79c39b45a.tar.bz2
chat-daf7a15d3b818941e078265e63c3dcc79c39b45a.zip
APIv3 append offset and limit to getProfiles etag (#5421)
* APIv3 append offset and limit to getProfiles etag * add separator between offset and limit
-rw-r--r--api/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go
index c6d9e5c25..dff851322 100644
--- a/api/user.go
+++ b/api/user.go
@@ -437,7 +437,7 @@ func getProfiles(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
- etag := app.GetUsersEtag()
+ etag := app.GetUsersEtag() + params["offset"] + "." + params["limit"]
if HandleEtag(etag, "Get Profiles", w, r) {
return
}