diff options
author | enahum <nahumhbl@gmail.com> | 2017-02-15 14:36:10 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-15 14:36:10 -0300 |
commit | daf7a15d3b818941e078265e63c3dcc79c39b45a (patch) | |
tree | 7188d17fbefc6f839dc7303a1d86b80b22c844de /api | |
parent | 2e0cf56e86656e791e20fb31566881e8fb748649 (diff) | |
download | chat-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
Diffstat (limited to 'api')
-rw-r--r-- | api/user.go | 2 |
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 } |