Skip to content

Commit

Permalink
Merge pull request #20 from atc0005/add-missing-assignment
Browse files Browse the repository at this point in the history
Add missing Facts assignment in MessageCardSection
  • Loading branch information
atc0005 authored May 24, 2020
2 parents a6412ec + dc84b2f commit cba5188
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions messagecard.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ func (mcs *MessageCardSection) AddFact(fact ...MessageCardSectionFact) error {
}
}

mcs.Facts = append(mcs.Facts, fact...)

return nil
}

Expand Down

0 comments on commit cba5188

Please sign in to comment.