feat: add database methods for webhookLog

This commit is contained in:
Lakhan Samani
2022-07-08 19:09:23 +05:30
parent a8064e79a1
commit ec62686fbc
20 changed files with 387 additions and 34 deletions

View File

@@ -58,5 +58,5 @@ type Provider interface {
// AddWebhookLog to add webhook log
AddWebhookLog(webhookLog models.WebhookLog) (models.WebhookLog, error)
// ListWebhookLogs to list webhook logs
ListWebhookLogs(req model.ListWebhookLogRequest) (*model.WebhookLogs, error)
ListWebhookLogs(pagination model.Pagination, webhookID string) (*model.WebhookLogs, error)
}