types: fix order slack attachment

This commit is contained in:
c9s 2022-01-10 17:54:35 +08:00
parent 2c94ec427b
commit d1c981e0b3

View File

@ -245,7 +245,7 @@ func (o Order) PlainText() string {
o.Status)
}
func (o *Order) SlackAttachment() slack.Attachment {
func (o Order) SlackAttachment() slack.Attachment {
var fields = []slack.AttachmentField{
{Title: "Exchange", Value: o.Exchange.String(), Short: true},
{Title: "Symbol", Value: o.Symbol, Short: true},