+2
-2
appview/db/profile.go
+2
-2
appview/db/profile.go
···
553
553
query = `select count(id) from pulls where owner_did = ? and state = ?`
554
554
args = append(args, did, PullOpen)
555
555
case VanityStatOpenIssueCount:
556
-
query = `select count(id) from issues where owner_did = ? and open = 1`
556
+
query = `select count(id) from issues where did = ? and open = 1`
557
557
args = append(args, did)
558
558
case VanityStatClosedIssueCount:
559
-
query = `select count(id) from issues where owner_did = ? and open = 0`
559
+
query = `select count(id) from issues where did = ? and open = 0`
560
560
args = append(args, did)
561
561
case VanityStatRepositoryCount:
562
562
query = `select count(id) from repos where did = ?`