diff options
author | Adrian Carolli <adrian.caarolli@gmail.com> | 2018-01-11 16:30:55 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2018-01-11 16:30:55 -0500 |
commit | b1d13a2d897147de8290a03e624efe4000dc9aa7 (patch) | |
tree | a75464c6eb48b753c96d7210254ff6985c7e4a4c /store/store.go | |
parent | 1d9efd0e39a9663bb2fbf52b3353fe21ac3b6954 (diff) | |
download | chat-b1d13a2d897147de8290a03e624efe4000dc9aa7.tar.gz chat-b1d13a2d897147de8290a03e624efe4000dc9aa7.tar.bz2 chat-b1d13a2d897147de8290a03e624efe4000dc9aa7.zip |
[PLT-7793] Add /users/tokens/search endpoint (#8088)
* Add /users/tokens/search endpoint + tests
* Fix check-style
* Unnecessary deletion
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index de8bd4635..dc140edd4 100644 --- a/store/store.go +++ b/store/store.go @@ -449,6 +449,7 @@ type UserAccessTokenStore interface { GetAll(offset int, limit int) StoreChannel GetByToken(tokenString string) StoreChannel GetByUser(userId string, page, perPage int) StoreChannel + Search(term string) StoreChannel UpdateTokenEnable(tokenId string) StoreChannel UpdateTokenDisable(tokenId string) StoreChannel } |