···553553 query = `select count(id) from pulls where owner_did = ? and state = ?`
554554 args = append(args, did, PullOpen)
555555 case VanityStatOpenIssueCount:
556556- query = `select count(id) from issues where owner_did = ? and open = 1`
556556+ query = `select count(id) from issues where did = ? and open = 1`
557557 args = append(args, did)
558558 case VanityStatClosedIssueCount:
559559- query = `select count(id) from issues where owner_did = ? and open = 0`
559559+ query = `select count(id) from issues where did = ? and open = 0`
560560 args = append(args, did)
561561 case VanityStatRepositoryCount:
562562 query = `select count(id) from repos where did = ?`