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

Skip to content

Commit 50b45ec

Browse files
authored
Merge pull request #166 from haochen233/master
logic/third_user.go fix typo "gitea" -> "github"
2 parents e3bc119 + 331e07e commit 50b45ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logic/third_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ func (ThirdUserLogic) githubTokenAndUser(ctx context.Context, code string) (*mod
415415
}
416416

417417
if githubUser.Id == 0 {
418-
return nil, nil, errors.New("get gitea user info error")
418+
return nil, nil, errors.New("get github user info error")
419419
}
420420

421421
return githubUser, token, nil

0 commit comments

Comments
 (0)