feat: add email template schema

This commit is contained in:
Lakhan Samani
2022-07-15 10:12:24 +05:30
parent fed092bb65
commit 14c74f6566
13 changed files with 756 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ type WebhookLog struct {
UpdatedAt int64 `json:"updated_at" bson:"updated_at" cql:"updated_at"`
}
// AsAPIWebhookLog to return webhook log as graphql response object
func (w *WebhookLog) AsAPIWebhookLog() *model.WebhookLog {
id := w.ID
if strings.Contains(id, Collections.WebhookLog+"/") {