feat: add sql database methods for webhook

This commit is contained in:
Lakhan Samani
2022-07-09 11:21:32 +05:30
parent 0ffb3f67f1
commit e8eb62769e
8 changed files with 78 additions and 18 deletions

View File

@@ -36,8 +36,8 @@ func (p *provider) GetWebhookByID(webhookID string) (models.Webhook, error) {
return models.Webhook{}, nil
}
// GetWebhookByEvent to get webhook by event_name
func (p *provider) GetWebhookByEvent(eventName string) (models.Webhook, error) {
// GetWebhookByEventName to get webhook by event_name
func (p *provider) GetWebhookByEventName(eventName string) (models.Webhook, error) {
return models.Webhook{}, nil
}