[MM-15183] Migrate "WebHook.SaveOutgoing" to Sync (#10675)

This commit is contained in:
Siyuan Liu
2019-04-23 01:39:59 -07:00
committed by Saturnino Abril
parent 2b6691e5cc
commit eaef1952b0
5 changed files with 45 additions and 38 deletions

View File

@@ -387,7 +387,7 @@ type WebhookStore interface {
PermanentDeleteIncomingByChannel(channelId string) StoreChannel
PermanentDeleteIncomingByUser(userId string) StoreChannel
SaveOutgoing(webhook *model.OutgoingWebhook) StoreChannel
SaveOutgoing(webhook *model.OutgoingWebhook) (*model.OutgoingWebhook, *model.AppError)
GetOutgoing(id string) StoreChannel
GetOutgoingList(offset, limit int) StoreChannel
GetOutgoingByChannel(channelId string, offset, limit int) StoreChannel