Skip to content

Commit

Permalink
chore(tap): count mio mio as mate
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed Dec 19, 2024
1 parent cc4b8d2 commit 9ea8a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/tap/tap.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (t *Tap) adjustCategories(orders []orderResponseItem) {
order.ProductCategory = "Other"
case "beverages":
// Atm only beverages get special categories
if strings.Contains(order.ProductName, "Mate") {
if strings.Contains(order.ProductName, "Mate") || strings.Contains(order.ProductName, "Mio Mio") {
order.ProductCategory = "Mate"
} else if slices.ContainsFunc(t.beers, func(beer string) bool { return strings.Contains(order.ProductName, beer) }) {
order.ProductCategory = "Beer"
Expand Down

0 comments on commit 9ea8a91

Please sign in to comment.