Delete webhooks when the associated channel gets deleted

Этот коммит содержится в:
JoramWilander
2015-10-22 14:27:47 -04:00
родитель 46f448899b
Коммит a431ba2c22
3 изменённых файлов: 49 добавлений и 0 удалений

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

@@ -149,6 +149,7 @@ type WebhookStore interface {
SaveIncoming(webhook *model.IncomingWebhook) StoreChannel
GetIncoming(id string) StoreChannel
GetIncomingByUser(userId string) StoreChannel
GetIncomingByChannel(channelId string) StoreChannel
DeleteIncoming(webhookId string, time int64) StoreChannel
SaveOutgoing(webhook *model.OutgoingWebhook) StoreChannel
GetOutgoing(id string) StoreChannel