diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-07-04 02:58:02 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-07-03 23:58:02 -0700 |
commit | f54aee1ef5466fdf11803cd75be3b7267e68540f (patch) | |
tree | 6a7dbf14839186ab7c2c9c357a0dc43d7d524329 /store/store.go | |
parent | 02335ddad42dcd048f8ef9f371dde90bdaedc1eb (diff) | |
download | chat-f54aee1ef5466fdf11803cd75be3b7267e68540f.tar.gz chat-f54aee1ef5466fdf11803cd75be3b7267e68540f.tar.bz2 chat-f54aee1ef5466fdf11803cd75be3b7267e68540f.zip |
Add paging to the GET /emojis endpoint (#6802)
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/store.go b/store/store.go index 9ae5f4b81..0007f495e 100644 --- a/store/store.go +++ b/store/store.go @@ -349,7 +349,7 @@ type EmojiStore interface { Save(emoji *model.Emoji) StoreChannel Get(id string, allowFromCache bool) StoreChannel GetByName(name string) StoreChannel - GetAll() StoreChannel + GetList(offset, limit int) StoreChannel Delete(id string, time int64) StoreChannel } |