diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-10-16 11:17:24 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-10-19 09:00:30 -0400 |
commit | f24ea30a75ad52b695f5f275139af1c0495624ac (patch) | |
tree | 74ea933bb3e67019a24d168b2f55e61800c1c243 /store/store.go | |
parent | 9de8bc4727132f8ec5d67f9d3e8a9642774c296c (diff) | |
download | chat-f24ea30a75ad52b695f5f275139af1c0495624ac.tar.gz chat-f24ea30a75ad52b695f5f275139af1c0495624ac.tar.bz2 chat-f24ea30a75ad52b695f5f275139af1c0495624ac.zip |
Refactor to hit database less often.
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 2a099975c..70980a15c 100644 --- a/store/store.go +++ b/store/store.go @@ -154,7 +154,7 @@ type WebhookStore interface { GetOutgoing(id string) StoreChannel GetOutgoingByCreator(userId string) StoreChannel GetOutgoingByChannel(channelId string) StoreChannel - GetOutgoingByTriggerWord(teamId, channelId, triggerWord string) StoreChannel + GetOutgoingByTeam(teamId string) StoreChannel DeleteOutgoing(webhookId string, time int64) StoreChannel UpdateOutgoing(hook *model.OutgoingWebhook) StoreChannel } |