mirror of
https://github.com/clem109/drone-wechat.git
synced 2026-06-14 05:13:03 +08:00
added missing struct initializers
This commit is contained in:
@@ -150,7 +150,7 @@ func (p Plugin) Exec() error {
|
||||
MsgURL string `json:"url"`
|
||||
BtnTxt string `json:"btntext"`
|
||||
} `json:"textcard"`
|
||||
}{p.Config.ToUser, p.Config.MsgType, p.Config.Agentid, textCard}
|
||||
}{p.Config.ToUser, p.Config.ToParty, p.Config.ToTag, p.Config.MsgType, p.Config.Agentid, p.Config.Safe, textCard}
|
||||
|
||||
b, _ = json.Marshal(data) // []byte(data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user