Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

Refactor tag filter logic and remove unused field in task management

lotk578b629155b5
diff --git a/core/api/batch_mail/v1/batch_mail.go b/core/api/batch_mail/v1/batch_mail.go
index 24147e5c..53dde4be 100644
--- a/core/api/batch_mail/v1/batch_mail.go
+++ b/core/api/batch_mail/v1/batch_mail.go
@@ -146,7 +146,7 @@ type CreateTaskReq struct {
TagIds []int `json:"tag_ids" dc:"tag ids for filtering contacts"`
TagLogic string `json:"tag_logic" v:"in:AND,OR" dc:"tag logic (AND: must have all tags, OR: have any tag)" default:"AND"`
- UseTagFilter int `json:"use_tag_filter" dc:"whether to use tag filter (1: yes, 0: no)" v:"in:0,1" default:"0"`
+
}
type CreateTaskRes struct {