Skip to content

Commit

Permalink
changed tab names
Browse files Browse the repository at this point in the history
  • Loading branch information
elraphty committed Feb 12, 2024
1 parent 2811e42 commit 2c4c1af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,9 +507,9 @@ func (db database) GetUserBountiesCount(personKey string, tabType string) int64
var count int64

query := db.db.Model(&Bounty{})
if tabType == "wanted" {
if tabType == "bounties" {
query.Where("owner_id", personKey)
} else if tabType == "usertickets" {
} else if tabType == "assigned" {
query.Where("assignee", personKey)
}

Expand Down

0 comments on commit 2c4c1af

Please sign in to comment.