Refactor to hit database less often.

Этот коммит содержится в:
JoramWilander
2015-10-16 11:17:24 -04:00
родитель 9de8bc4727
Коммит f24ea30a75
7 изменённых файлов: 89 добавлений и 161 удалений

Просмотреть файл

@@ -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
}