aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/item.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/feed/item.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/feed/item.go b/internal/feed/item.go
index 44e878c..79a971c 100644
--- a/internal/feed/item.go
+++ b/internal/feed/item.go
@@ -65,7 +65,7 @@ func (item *Item) FeedLink() string {
}
func (item *Item) AddReason(reason string) {
- if !util.StrContains(item.reasons, reason) {
+ if !util.Contains(item.reasons, reason) {
item.reasons = append(item.reasons, reason)
}
}