We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0420cf3 commit c65112cCopy full SHA for c65112c
1 file changed
main.go
@@ -107,10 +107,15 @@ func main() {
107
return nil
108
}
109
110
- option := models.Option{
111
- Title: &subject,
112
- Subject: &subject,
113
- Priority: &priority,
+ option := models.Option{}
+
+ if ctx.IsSet("subject") {
+ option.Title = &subject
114
+ option.Subject = &subject
115
+ }
116
117
+ if ctx.IsSet("priority") {
118
+ option.Priority = &priority
119
120
121
if len(threadId) > 0 {
0 commit comments