summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-10-16 11:17:24 -0400
committerJoramWilander <jwawilander@gmail.com>2015-10-19 09:00:30 -0400
commitf24ea30a75ad52b695f5f275139af1c0495624ac (patch)
tree74ea933bb3e67019a24d168b2f55e61800c1c243 /store/store.go
parent9de8bc4727132f8ec5d67f9d3e8a9642774c296c (diff)
downloadchat-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.go2
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
}