fix: allow design variable empty value for email templates

This commit is contained in:
anik-ghosh-au7
2022-11-09 22:48:12 +05:30
parent b467e7002d
commit 87bf1c3045
5 changed files with 718 additions and 702 deletions

View File

@@ -3,10 +3,10 @@
package model
type AddEmailTemplateRequest struct {
EventName string `json:"event_name"`
Subject string `json:"subject"`
Template string `json:"template"`
Design string `json:"design"`
EventName string `json:"event_name"`
Subject string `json:"subject"`
Template string `json:"template"`
Design *string `json:"design"`
}
type AddWebhookRequest struct {