From dc84b2fabd2f8c8f7b14235905080a9e029f1e23 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Sat, 18 Apr 2020 07:53:27 -0500 Subject: [PATCH] Add missing Facts assignment in MessageCardSection This was intended to go in with the other work for dasrick/go-teams-notify#6, but I think this assignment statement was unintentionally trimmed alongside the removal of the package-level logger statements referenced in dasrick/go-teams-notify#10. I caught this when performing a test rebase to audit what remaining changes in my fork haven't been included or proposed in the parent/upstream project. --- messagecard.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/messagecard.go b/messagecard.go index 4aab211..8e43489 100644 --- a/messagecard.go +++ b/messagecard.go @@ -195,6 +195,8 @@ func (mcs *MessageCardSection) AddFact(fact ...MessageCardSectionFact) error { } } + mcs.Facts = append(mcs.Facts, fact...) + return nil }