Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 499509d

Browse files
committed
bugfix
1 parent d562e88 commit 499509d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logic/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ func (self GithubLogic) insertIssue(id int64, title, label string) error {
732732
func (self GithubLogic) findUserEmail(githubUser string) string {
733733
uid := DefaultThirdUser.findUid(githubUser, model.BindTypeGithub)
734734
if uid != 0 {
735-
user := DefaultUser.FindOne(nil, "uid", uid)
735+
user := DefaultUser.findUser(nil, uid)
736736
if strings.HasSuffix(user.Email, "@github.com") {
737737
return user.Email
738738
}

0 commit comments

Comments
 (0)