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
Fixed create contact group interface
lotkd0bc02d045ed
diff --git a/core/internal/controller/contact/contact_v1_create_group.go b/core/internal/controller/contact/contact_v1_create_group.goindex 7b43a422..94921aff 100644--- a/core/internal/controller/contact/contact_v1_create_group.go+++ b/core/internal/controller/contact/contact_v1_create_group.go@@ -56,9 +56,8 @@ func (c *ControllerV1) CreateGroup(ctx context.Context, req *v1.CreateGroupReq)// if type 2 or 3, need to handle file importif req.CreateType == 2 || req.CreateType == 3 {if req.FileData == "" {- //res.Code = 400- //res.SetError(gerror.New(public.LangCtx(ctx, "File content cannot be empty")))- res.SetSuccess(public.LangCtx(ctx, "Group created successfully"))+ res.Code = 400+ res.SetError(gerror.New(public.LangCtx(ctx, "File content cannot be empty")))return}